Files
ansible-molecule/Dockerfile

18 lines
516 B
Docker
Raw Normal View History

2023-08-19 21:25:33 +12:00
FROM python:3.9-slim
2024-01-09 14:56:25 +13:00
RUN apt-get update && \
apt-get install -y git \
rsync && \
2023-10-05 16:26:48 +13:00
apt-get clean all && \
pip install 'ansible-core<2.17' \
2023-08-19 22:18:34 +12:00
'ansible-compat==3.0.2' \
2023-10-05 16:01:06 +13:00
'molecule[docker]<5.0.0' \
2023-10-05 16:11:04 +13:00
'ansible-lint==6.16.2' \
'yamllint==1.32.0' \
'passlib==1.7.4' && \
2023-10-05 17:21:34 +13:00
ansible-galaxy collection install community.general \
ansible.windows
2023-08-19 22:22:57 +12:00
COPY --from=docker:20.10 /usr/local/bin/docker /usr/local/bin/
2023-08-19 21:25:33 +12:00
CMD ["/bin/bash"]