2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
2015-11-23 12:38:58 +05:30
|
|
|
MAINTAINER {{ maintainer }}
|
2015-08-17 07:35:16 +02:00
|
|
|
|
|
|
|
{% if install_type == 'binary' %}
|
2015-09-04 02:15:03 -07:00
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
2015-08-17 07:35:16 +02:00
|
|
|
|
|
|
|
# The bind9 package here is only to provide the rndc binary.
|
|
|
|
RUN yum install -y \
|
2015-09-30 11:23:39 +00:00
|
|
|
openstack-designate-pool-manager \
|
|
|
|
bind \
|
2015-08-17 07:35:16 +02:00
|
|
|
&& yum clean all
|
|
|
|
|
2016-02-05 15:59:48 +05:30
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
|
|
designate-pool-manager \
|
|
|
|
bind9 \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2015-08-17 07:35:16 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-08-28 13:17:41 +03:00
|
|
|
{{ include_footer }}
|
2015-11-12 14:34:09 +00:00
|
|
|
|
|
|
|
USER designate
|