![Marcin Juszkiewicz](/assets/img/avatar_default.png)
Big patch drops all mentions of binary images support. Suggestions are welcome how to split it into parts or handle better. Change-Id: I5d5a46c6ce7734ceb8b844e17b43e359d7cac6e3
26 lines
751 B
Django/Jinja
26 lines
751 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block designate_worker_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
# The bind9 package here is only to provide the rndc binary.
|
|
{% if base_package_type == 'rpm' %}
|
|
{% set designate_worker_packages = [
|
|
'bind'
|
|
] %}
|
|
{% elif base_package_type == 'deb' %}
|
|
{% set designate_worker_packages = [
|
|
'bind9'
|
|
] %}
|
|
{% endif %}
|
|
{{ macros.install_packages(designate_worker_packages | customizable("packages")) }}
|
|
|
|
{% block designate_worker_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER designate
|