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

24 lines
746 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_api_packages = ['openstack-murano-api'] %}
{% elif base_distro in ['ubuntu'] %}
{% set murano_api_packages = ['murano-api'] %}
{% endif %}
RUN {{ macros.install_packages(murano_api_packages | customizable("packages")) }}
{% endif %}
COPY extend_start.sh /usr/local/bin/kolla_murano_extend_start
RUN chmod 755 /usr/local/bin/kolla_murano_extend_start
{% block murano_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER murano