d2215eab04
This patchset contains customization of Dockerfile of designate containers Change-Id: I846437df7c3c417846f1c771883e5eb266b78a37 Partially-implements: blueprint third-party-plugin-support Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
22 lines
776 B
Django/Jinja
22 lines
776 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
{% set designate_central_packages = ['openstack-designate-central'] %}
|
|
{% elif base_distro in ['ubuntu']%}
|
|
{% set designate_central_packages = ['designate-central'] %}
|
|
{% endif %}
|
|
RUN {{ macros.install_packages(designate_central_packages | customizable("packages")) }}
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
{% block designate_central_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|
|
|
|
USER designate
|