kolla/docker/mistral/mistral-event-engine/Dockerfile.j2
Jon Schlueter b5563c17fa validate-indentation: expand check to also catch macros.install_packages
Fixed up 4 Dockerfile.j2 files that had the issue

Change-Id: I8a5551050a75d64712c36d53573437a18777a82f
(cherry picked from commit 2b023ba13e)
2018-08-09 22:13:24 -04:00

23 lines
798 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block mistral_event_engine_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set mistral_event_engine_packages = ['openstack-mistral-event-engine'] %}
{{ macros.install_packages(mistral_event_engine_packages | customizable("packages")) }}
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
{% block mistral_event_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER mistral