Merge pull request '[Docker] do not cache pip' (#35) from docker_best_pratices into master
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: Aurore/ansible#35
This commit is contained in:
jeltz 2021-03-11 14:25:08 +01:00
commit 7c7de51903

View file

@ -2,6 +2,6 @@ FROM python:3.9-alpine
LABEL description="Aurore's docker image for ansible-lint" 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 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 --no-cache-dir "yamllint>=1.26.0,<2.0"
RUN pip install "ansible-lint==5.0.0" RUN pip install --no-cache-dir "ansible-lint==5.0.0"
RUN pip install "ansible>=2.10,<2.11" RUN pip install --no-cache-dir "ansible>=2.10,<2.11"