Murano ubuntu binary container
Change-Id: I059565c15f5b820c5944d5bd349ccbc5acdb7540 Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
parent
cea76a1b86
commit
5f5169f0e6
@ -1,6 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
murano-api \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||||
|
|
||||||
|
@ -2,10 +2,18 @@ FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
|||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
murano-common \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
&& /bin/false
|
&& /bin/false
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD murano-base-archive /murano-base-source
|
ADD murano-base-archive /murano-base-source
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
murano-engine \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
USER murano
|
USER murano
|
||||||
|
Loading…
Reference in New Issue
Block a user