aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/heat/heat-all/Dockerfile.j224
1 files changed, 24 insertions, 0 deletions
diff --git a/docker/heat/heat-all/Dockerfile.j2 b/docker/heat/heat-all/Dockerfile.j2
new file mode 100644
index 000000000..ea7f6d8d5
--- /dev/null
+++ b/docker/heat/heat-all/Dockerfile.j2
@@ -0,0 +1,24 @@
+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