kolla/docker/heat/heat-all/Dockerfile.j2
Dan Prince 9a64a8c027 Add heat-all container
TripleO makes use of a heat-all container for undercloud
installation. This container includes the API, Engine, and
a new heat-all launcher (included in the monolith package).

Implements: blueprint heat-all

Change-Id: If1cc3e959b63f775e15e6eeef4b54981fb3793e9
2017-02-15 12:02:38 -05:00

25 lines
740 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block heat_all_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set heat_all_packages = [
'openstack-heat-api',
'openstack-heat-monolith',
'openstack-heat-engine'
] %}
{% elif base_distro in ['ubuntu'] %}
RUN echo 'heat-all not yet available for {{ base_distro }}' && /bin/false
{% endif %}
{{ macros.install_packages(heat_all_packages | customizable("packages")) }}
{% endif %}
{% block heat_all_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER heat