a7c3851d29
This patchset contains customization of Dockerfiles of mistral containers Change-Id: I0ad1e9aa80b563da17275268ca90b618da350b06 Partially-implements: blueprint third-party-plugin-support
21 lines
666 B
Django/Jinja
21 lines
666 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
{% set mistral_executor_packages = ['openstack-mistral-executor'] %}
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
{% set mistral_executor_packages = ['mistral-executor'] %}
|
|
{% endif %}
|
|
RUN {{ macros.install_packages(mistral_executor_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
{% block mistral_executor_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
{{ include_footer }}
|
|
|
|
USER mistral
|