2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
|
2015-11-23 12:38:58 +05:30
|
|
|
MAINTAINER {{ maintainer }}
|
2015-08-14 21:53:42 -07:00
|
|
|
|
|
|
|
{% if install_type == 'binary' %}
|
2015-09-04 02:15:03 -07:00
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
2015-08-14 21:53:42 -07:00
|
|
|
|
2015-08-02 12:26:30 -07:00
|
|
|
RUN yum -y install openstack-heat-api \
|
2015-08-14 21:53:42 -07:00
|
|
|
&& yum clean all
|
|
|
|
|
2015-12-28 17:39:33 +01:00
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
|
|
heat-api \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2015-08-14 21:53:42 -07:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-09-30 11:23:39 +00:00
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
2015-08-28 13:17:41 +03:00
|
|
|
|
|
|
|
{{ include_footer }}
|
2015-11-12 14:34:09 +00:00
|
|
|
|
|
|
|
USER heat
|