649a2a3c9e
Heat docker templates were not pointing to correct base Change-Id: I170e9884ad179f0e3f6e5aba28074abbb7d5ed97 Partially-Implements: blueprint docker-templates
24 lines
577 B
Django/Jinja
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"]
|