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

{% block murano_engine_header %}{% endblock %}

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

{% if install_type == 'binary' %}
    {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
       {% set murano_engine_packages = ['openstack-murano-engine'] %}
    {% elif base_distro in ['debian', 'ubuntu'] %}
        {% set murano_engine_packages = ['murano-engine'] %}
    {% endif %}

{{ macros.install_packages(murano_engine_packages | customizable("packages")) }}

{% endif %}

{% block murano_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}

USER murano