Swapnil Kulkarni (coolsvap) 0ec7218b19 Customizations for murano
This patchset contains customization of Dockerfiles
of murano containers

Change-Id: I5443c76627d700652a883409dce34a1511f50728
Partially-implements: blueprint third-party-plugin-support
2016-08-18 09:53:22 +00:00

22 lines
647 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set murano_engine_packages = ['openstack-murano-engine'] %}
{% elif base_distro in ['ubuntu'] %}
{% set murano_engine_packages = ['murano-engine'] %}
{% endif %}
RUN {{ macros.install_packages(murano_engine_packages | customizable("packages")) }}
{% endif %}
{% block murano_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER murano