kolla-ansible/docker_templates/designate/designate-sink/Dockerfile.j2
akwasniewska 491823b93b Add Dockerfile template for designate
Change-Id: I740f1ccc5763b683a39957304a7cce3f43f2c588
Partially-Implements: blueprint dockerfile-template
2015-08-17 07:35:16 +02:00

19 lines
449 B
Django/Jinja

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-designate-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux'] %}
RUN yum install -y \
openstack-designate-sink \
python-designateclient \
&& yum clean all
{% endif %}
{% endif %}
COPY start.sh /start.sh
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]