From: Petr OspalĂ˝ Date: Thu, 24 Jan 2019 12:16:00 +0000 (+0100) Subject: Fix broken docker build due to pip-19.0 X-Git-Tag: 6.0.0-ONAP~333^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=26ce9b0446ec2c8d7dded06d714a58a69eaf1dba;p=oom%2Foffline-installer.git Fix broken docker build due to pip-19.0 pip-19.0 fails to build with the option --no-cache-dir Change-Id: I6494c6c6b4dc49d4fbd2ce657ed9824c5b3847e3 Issue-ID: OOM-1607 Signed-off-by: Petr OspalĂ˝ --- diff --git a/ansible/docker/Dockerfile b/ansible/docker/Dockerfile index 4cefa8b7..f249d3b6 100644 --- a/ansible/docker/Dockerfile +++ b/ansible/docker/Dockerfile @@ -20,12 +20,12 @@ RUN apk --no-cache update \ py3-openssl \ openssh \ sshpass \ -&& pip3 install --no-cache-dir --upgrade pip \ -&& pip3 install --no-cache-dir \ +&& pip3 install --upgrade pip \ +&& pip3 install \ ansible==$ansible_version \ jmespath \ netaddr \ -&& apk del build-dependencies && rm -rf /var/cache/apk/* +&& apk del build-dependencies && rm -rf /var/cache/apk/* && rm -rf /root/.cache ENV ANSIBLE_HOST_KEY_CHECKING false ENV ANSIBLE_RETRY_FILES_ENABLED false