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

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