From 14b74312a8ee92f0f67f89ee179a4b54818077b3 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Thu, 25 Apr 2024 17:02:13 +0000 Subject: [PATCH] base-image: Remove virtualenv installed using pip Remove triple installations of pip. Pip tool is installed once using tdnf and other two times using pip, so rely only on the one installed using tdnf. Signed-off-by: Suraj Deshmukh --- linux/base.Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/linux/base.Dockerfile b/linux/base.Dockerfile index 30a7eb6d..d8d6c88b 100644 --- a/linux/base.Dockerfile +++ b/linux/base.Dockerfile @@ -171,7 +171,6 @@ RUN pip3 install --upgrade sfctl \ # # BEGIN: Install Ansible in isolated Virtual Environment COPY ./linux/ansible/ansible* /usr/local/bin/ RUN chmod 755 /usr/local/bin/ansible* \ - && pip3 install virtualenv \ && cd /opt \ && virtualenv -p python3 ansible \ && /bin/bash -c "source ansible/bin/activate && pip3 install ansible && pip3 install pywinrm\>\=0\.2\.2 && deactivate" \