ansible/docker-ansible-lint/Dockerfile

8 lines
321 B
Docker
Raw Permalink Normal View History

2021-02-16 16:39:27 +01:00
FROM python:3.9-alpine
LABEL description="Aurore's docker image for ansible-lint"
2021-02-16 16:39:27 +01:00
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
2021-02-18 00:14:12 +01:00
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"