Skip to content
Snippets Groups Projects
Commit 03b9ecc3 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Customizations for murano"

parents d44055fb 0ec7218b
No related branches found
No related tags found
No related merge requests found
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'] %}
RUN yum -y install \
openstack-murano-api \
&& yum clean all
{% set murano_api_packages = ['openstack-murano-api'] %}
{% elif base_distro in ['ubuntu'] %}
{% set murano_api_packages = ['murano-api'] %}
{% endif %}
RUN apt-get -y install --no-install-recommends \
murano-api \
&& apt-get clean
RUN {{ macros.install_packages(murano_api_packages | customizable("packages")) }}
{% endif %}
{% 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
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% import "macros.j2" as macros with context %}
RUN yum -y install \
openstack-murano-common \
&& yum clean all
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% set murano_base_packages = ['openstack-murano-common'] %}
{% elif base_distro in ['ubuntu'] %}
{% set murano_base_packages = ['murano-common'] %}
{% endif %}
RUN apt-get -y install --no-install-recommends \
murano-common \
&& apt-get clean
RUN {{ macros.install_packages(murano_base_packages | customizable("packages")) }}
{% endif %}
{% elif install_type == 'source' %}
ADD murano-base-archive /murano-base-source
......@@ -32,3 +30,6 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN usermod -a -G kolla murano \
&& touch /usr/local/bin/kolla_murano_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_murano_extend_start
{% block murano_base_footer %}{% endblock %}
{% block footer %}{% endblock %}
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'] %}
RUN yum -y install \
openstack-murano-engine \
&& yum clean all
{% set murano_engine_packages = ['openstack-murano-engine'] %}
{% elif base_distro in ['ubuntu'] %}
{% set murano_engine_packages = ['murano-engine'] %}
{% endif %}
RUN apt-get -y install --no-install-recommends \
murano-engine \
&& apt-get clean
RUN {{ macros.install_packages(murano_engine_packages | customizable("packages")) }}
{% endif %}
{% endif %}
{% block murano_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER murano
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment