From acd12cf58174d6899c04a0780e979fbc5e508351 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 6 Apr 2022 10:56:04 +0200 Subject: [PATCH] Dockerfile updated to eliminate dependency conflicts The existing installation procedure included unnecessary and potentially conflicting dependencies into the container environment. Eliminating them will prevent dependency conflicts, while also improving performance of the container build process. Signed-off-by: Jiri Podivin Change-Id: I5812b93e6b933b2da93d0d7524b770e20ca189f7 --- Dockerfile | 7 +++---- dockerfiles/localvalidations/Dockerfile | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index f5269e6c..e3ea3b19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM centos:latest -LABEL name="VF develoment dockerfile" -LABEL version="0.3" +LABEL name="VF development dockerfile" +LABEL version="0.4" LABEL description="Provides environment for development of new validations." RUN dnf install -y git python3-pip gcc python3-devel jq @@ -18,8 +18,7 @@ RUN cd /root/validations-libs && \ python3 -m pip install -r test-requirements.txt RUN cd /root/validations-common && \ - python3 -m pip install . && \ - python3 -m pip install -r test-requirements.txt + python3 -m pip install . #Setting up the default directory structure for both ansible, #and the VF diff --git a/dockerfiles/localvalidations/Dockerfile b/dockerfiles/localvalidations/Dockerfile index f5269e6c..e3ea3b19 100644 --- a/dockerfiles/localvalidations/Dockerfile +++ b/dockerfiles/localvalidations/Dockerfile @@ -1,7 +1,7 @@ FROM centos:latest -LABEL name="VF develoment dockerfile" -LABEL version="0.3" +LABEL name="VF development dockerfile" +LABEL version="0.4" LABEL description="Provides environment for development of new validations." RUN dnf install -y git python3-pip gcc python3-devel jq @@ -18,8 +18,7 @@ RUN cd /root/validations-libs && \ python3 -m pip install -r test-requirements.txt RUN cd /root/validations-common && \ - python3 -m pip install . && \ - python3 -m pip install -r test-requirements.txt + python3 -m pip install . #Setting up the default directory structure for both ansible, #and the VF