include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
30 lines
764 B
Django/Jinja
30 lines
764 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}cloudkitty-base:{{ tag }}
|
|
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 ['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
|