e5788a06e4
This patchset contains customization of Dockerfile of heat containers Change-Id: I3c2bae909ec6e8c3b0e460115ded3cc2456a212f Partially-implements: blueprint third-party-plugin-support
25 lines
723 B
Django/Jinja
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
|