59a1c8b9fb
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
18 lines
400 B
Django/Jinja
18 lines
400 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum install -y bind \
|
|
&& yum clean all \
|
|
&& mkdir -p /var/lib/kolla/ \
|
|
&& cp -pr /var/named /var/lib/kolla/var-named
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{{ include_footer }}
|
|
|
|
USER designate
|