ansible/docker-ansible-lint/Dockerfile

8 lines
276 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
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"