kolla-ansible/docker/heat/heat-engine/Dockerfile.j2
Michal (inc0) Jastrzebski e5788a06e4 Customizations for heat
This patchset contains customization of Dockerfile of heat containers

Change-Id: I3c2bae909ec6e8c3b0e460115ded3cc2456a212f
Partially-implements: blueprint third-party-plugin-support
2016-07-19 14:43:33 +00:00

25 lines
723 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set heat_engine_packages = [
'python-barbicanclient',
'python-zaqarclient',
'openstack-heat-engine'
] %}
{% elif base_distro in ['ubuntu'] %}
{% set heat_engine_packages = ['heat-engine'] %}
{% endif %}
RUN {{ macros.install_packages(heat_engine_packages | customizable("packages")) }}
{% endif %}
{% block heat_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER heat