From a35488efdda5962fe798df2550c1bd21f979f4b1 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Thu, 18 Feb 2021 00:14:12 +0100 Subject: [PATCH] [Docker] do not cache pip --- docker-ansible-lint/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-ansible-lint/Dockerfile b/docker-ansible-lint/Dockerfile index 5d60549..1db9744 100644 --- a/docker-ansible-lint/Dockerfile +++ b/docker-ansible-lint/Dockerfile @@ -2,6 +2,6 @@ FROM python:3.9-alpine LABEL description="Aurore's docker image for ansible-lint" RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo -RUN pip install "yamllint>=1.26.0,<2.0" -RUN pip install "ansible-lint==5.0.0" -RUN pip install "ansible>=2.10,<2.11" +RUN pip install --no-cache-dir "yamllint>=1.26.0,<2.0" +RUN pip install --no-cache-dir "ansible-lint==5.0.0" +RUN pip install --no-cache-dir "ansible>=2.10,<2.11"