aboutsummaryrefslogtreecommitdiff
path: root/docker/mistral/mistral-executor/Dockerfile.j2
blob: b2b1d5ea6a1a791fadbd4b2ae891b734780557c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"

{% block mistral_executor_header %}{% endblock %}

{% import "macros.j2" as macros with context %}

{% if install_type == 'binary' %}
    {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
        {% set mistral_executor_packages = ['openstack-mistral-executor'] %}
    {% elif base_distro in ['debian', 'ubuntu'] %}
        {% set mistral_executor_packages = ['mistral-executor'] %}
    {% endif %}
{{ macros.install_packages(mistral_executor_packages | customizable("packages")) }}

{% endif %}
{% block mistral_executor_footer %}{% endblock %}
{% block footer %}{% endblock %}

USER mistral