Steven Dake f0a349f810 Add heat to docker_templates
This adds Heat to the docker_templates directory.

Change-Id: I836d35515c71842f01974e9ae4dd934f3f4114f9
Partially-Implements: blueprint dockerfile-template
2015-08-14 21:56:20 -07:00

24 lines
568 B
Django/Jinja

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-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 \
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"]