From dff9c6cfcc1848303fbb38d728c60481c255578c Mon Sep 17 00:00:00 2001 From: Martin André Date: Wed, 8 Mar 2017 11:40:12 +0100 Subject: Add heat-api-cloudwatch image The heat-api-cloudwatch service is used in TripleO. Partially-Implements: blueprint containerize-tripleo Change-Id: I98d251ea34cf7ee451b45f0b8c6873488a229c36 --- docker/heat/heat-api-cloudwatch/Dockerfile.j2 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker/heat/heat-api-cloudwatch/Dockerfile.j2 (limited to 'docker') diff --git a/docker/heat/heat-api-cloudwatch/Dockerfile.j2 b/docker/heat/heat-api-cloudwatch/Dockerfile.j2 new file mode 100644 index 000000000..3c3d2ccf0 --- /dev/null +++ b/docker/heat/heat-api-cloudwatch/Dockerfile.j2 @@ -0,0 +1,20 @@ +FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }} +MAINTAINER {{ maintainer }} + +{% block heat_api_cloudwatch_header %}{% endblock %} + +{% import "macros.j2" as macros with context %} + +{% if install_type == 'binary' %} + {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} + {% set heat_api_cloudwatch_packages = ['openstack-heat-api-cloudwatch'] %} + {% elif base_distro in ['ubuntu'] %} + {% set heat_api_cloudwatch_packages = ['heat-api-cloudwatch'] %} + {% endif %} +{{ macros.install_packages(heat_api_cloudwatch_packages | customizable("packages")) }} +{% endif %} + +{% block heat_api_cloudwatch_footer %}{% endblock %} +{% block footer %}{% endblock %} + +USER heat -- cgit v1.2.3