Files
ansible-molecule/Dockerfile
2023-10-05 16:26:48 +13:00

14 lines
441 B
Docker

FROM python:3.9-slim
RUN apt-get update && apt-get install -y git && \
apt-get clean all && \
pip install 'ansible-core<2.17' \
'ansible-compat==3.0.2' \
'molecule[docker]<5.0.0' \
'ansible-lint==6.16.2' \
'yamllint==1.32.0' && \
ansible-galaxy collection install community.general
COPY --from=docker:20.10 /usr/local/bin/docker /usr/local/bin/
CMD ["/bin/bash"]