This repository has been archived on 2022-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.new-hetzner/molecule/default/Dockerfile.j2

18 lines
396 B
Docker
Raw Normal View History

2022-05-30 10:59:44 +00:00
# Molecule managed
{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}
{% if item.env is defined %}
{% for var, value in item.env.items() %}
{% if value %}
ENV {{ var }} {{ value }}
{% endif %}
{% endfor %}
{% endif %}
RUN apt-get update && apt-get install -y python sudo bash ca-certificates iproute2 && apt-get clean;