83d0fc4a00
Certmonger is a daemon that handles the lifecycle of TLS certificates. This adds a simple container with certmonger installed. Change-Id: I94af686d73e5d58c2dc020f97edf69e165e26b73
22 lines
652 B
Django/Jinja
22 lines
652 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block certmonger_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
{% set certmonger_packages = [
|
|
'certmonger',
|
|
] %}
|
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
|
{% set certmonger_packages = [
|
|
'certmonger'
|
|
] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(certmonger_packages | customizable("packages")) }}
|
|
|
|
{% block certmonger_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|