aboutsummaryrefslogtreecommitdiff
path: root/docker/murano/murano-engine/Dockerfile.j2
blob: 846a6e4beed27166defe8eaa9a95356e1f46f37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}

{% 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 ['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 %}
{{ include_footer }}

USER murano