diff options
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/heat/heat-api-cloudwatch/Dockerfile.j2 | 20 |
1 files changed, 20 insertions, 0 deletions
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 |
