Files
kolla/docker/heat/heat-api-cloudwatch/Dockerfile.j2
Chen 8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00

21 lines
705 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
LABEL 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