kolla-ansible/docker/designate/designate-sink/Dockerfile.j2
xionglingfeng ade8eff4b3 fix spelling problem in designate-sink ubuntu binary
Change-Id: I60ecdcdfbb1259fa261e982116123b4c2f81eedc
Closes-Bug: 1546754
2016-02-17 17:39:53 -03:30

25 lines
541 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 \
openstack-designate-sink \
python-designateclient \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-sink \
designateclient \
&& apt-get clean
{% endif %}
{% endif %}
{{ include_footer }}
USER designate