kolla-ansible/docker_templates/heat/heat-api-cfn/Dockerfile.j2
Steven Dake 649a2a3c9e Fix heat docker templates
Heat docker templates were not pointing to correct base

Change-Id: I170e9884ad179f0e3f6e5aba28074abbb7d5ed97
Partially-Implements: blueprint docker-templates
2015-08-16 14:55:23 -07:00

24 lines
577 B
Django/Jinja

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-heat-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum -y install \
openstack-heat-api-cfn \
python-openstackclient \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
COPY start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]