aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-16 23:09:31 +0000
committerGerrit Code Review <review@openstack.org>2017-02-16 23:09:31 +0000
commiteaec95b14e21ad51f32097f00b10f3092dff4e09 (patch)
tree4b4cfd15686fb919df1a39d9225d6096d9a9ef9c /docker
parent16f2c199f1fc945ec0f83520efa865d4189ce223 (diff)
parent9a64a8c027564462aa5e403a56b1eb24240d0288 (diff)
downloadkolla-eaec95b14e21ad51f32097f00b10f3092dff4e09.tar.gz
kolla-eaec95b14e21ad51f32097f00b10f3092dff4e09.zip
Merge "Add heat-all container"
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