Files
kolla/docker/cloudkitty/cloudkitty-processor/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

30 lines
782 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}cloudkitty-base:{{ tag }}
LABEL maintainer="{{ maintainer }}"
{% block cloudkitty_processor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set cloudkitty_processor_packages = [
'openstack-cloudkitty-processor',
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
{{ macros.install_packages(cloudkitty_processor_packages | customizable("packages")) }}
{% block cloudkitty_processor_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER cloudkitty