summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
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