Files
ansible-molecule/Dockerfile

11 lines
311 B
Docker
Raw Normal View History

2023-08-19 21:25:33 +12:00
FROM python:3.9-slim
ARG DEPOT_VERSION=2.30.0
2023-08-19 22:18:34 +12:00
RUN pip install 'ansible-core<2.17' \
'ansible-compat==3.0.2' \
2023-08-19 22:29:24 +12:00
'molecule[docker]<5.0.0' && \
ansible-galaxy collection install community.general
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"]