cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/molecule/default/Dockerfile.j2

13 lines
363 B
Docker
Raw Normal View History

2020-04-28 13:23:10 +02:00
# Molecule managed
{% raw %}{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}
# install minimal packages for debian slim images
RUN apt-get update && \
2022-03-24 18:20:09 +01:00
apt-get install -y python3 sudo bash ca-certificates iproute2 systemd systemd-sysv python3-pip && \
2020-04-28 13:23:10 +02:00
apt-get clean{% endraw %}