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 <jpodivin@redhat.com>
Change-Id: I5812b93e6b933b2da93d0d7524b770e20ca189f7
This commit is contained in:
Jiri Podivin 2022-04-06 10:56:04 +02:00
parent 794fb1a0a3
commit acd12cf581
2 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
FROM centos:latest FROM centos:latest
LABEL name="VF develoment dockerfile" LABEL name="VF development dockerfile"
LABEL version="0.3" LABEL version="0.4"
LABEL description="Provides environment for development of new validations." LABEL description="Provides environment for development of new validations."
RUN dnf install -y git python3-pip gcc python3-devel jq 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 python3 -m pip install -r test-requirements.txt
RUN cd /root/validations-common && \ RUN cd /root/validations-common && \
python3 -m pip install . && \ python3 -m pip install .
python3 -m pip install -r test-requirements.txt
#Setting up the default directory structure for both ansible, #Setting up the default directory structure for both ansible,
#and the VF #and the VF

View File

@ -1,7 +1,7 @@
FROM centos:latest FROM centos:latest
LABEL name="VF develoment dockerfile" LABEL name="VF development dockerfile"
LABEL version="0.3" LABEL version="0.4"
LABEL description="Provides environment for development of new validations." LABEL description="Provides environment for development of new validations."
RUN dnf install -y git python3-pip gcc python3-devel jq 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 python3 -m pip install -r test-requirements.txt
RUN cd /root/validations-common && \ RUN cd /root/validations-common && \
python3 -m pip install . && \ python3 -m pip install .
python3 -m pip install -r test-requirements.txt
#Setting up the default directory structure for both ansible, #Setting up the default directory structure for both ansible,
#and the VF #and the VF