cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/molecule/default/Dockerfile.j2
Pablo Gómez-Caldito 0cde8c32d9 first commit
2020-04-28 13:23:10 +02:00

13 lines
361 B
Django/Jinja

# 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 && \
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python-pip && \
apt-get clean{% endraw %}