kolla-ansible/docker/mistral/mistral-executor/Dockerfile.j2
Swapnil Kulkarni (coolsvap) a7c3851d29 Customizations for mistral
This patchset contains customization of Dockerfiles
of mistral containers

Change-Id: I0ad1e9aa80b563da17275268ca90b618da350b06
Partially-implements: blueprint third-party-plugin-support
2016-07-25 08:55:33 +05:30

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