Add designate-producer container
reference: https://docs.openstack.org/designate/latest/contributor/architecture.html Change-Id: Ia22128e5ce4a717612af658d63258e78e52176ad
This commit is contained in:
parent
b53b0d93a9
commit
22e6130c5d
20
docker/designate/designate-producer/Dockerfile.j2
Normal file
20
docker/designate/designate-producer/Dockerfile.j2
Normal file
@ -0,0 +1,20 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
|
||||
{% block designate_producer_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set designate_producer_packages = ['openstack-designate-producer'] %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set designate_producer_packages = ['designate-producer'] %}
|
||||
{% endif %}
|
||||
{{ macros.install_packages(designate_producer_packages | customizable("packages")) }}
|
||||
{% endif %}
|
||||
|
||||
{% block designate_producer_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
USER designate
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add designate-producer image
|
Loading…
Reference in New Issue
Block a user