Manila ubuntu binary container
manila-share is present in manila-common package. Change-Id: Ida231c0468b6ee3bb6a76fb9f475724abf95c1cb Closes-Bug:#1553199
This commit is contained in:
parent
a42fd0c0d2
commit
d4a5c75db6
@ -1,6 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
manila-api \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif%}
|
||||||
|
{% endif%}
|
||||||
|
|
||||||
COPY extend_start.sh /usr/local/bin/kolla_manila_extend_start
|
COPY extend_start.sh /usr/local/bin/kolla_manila_extend_start
|
||||||
RUN chmod 755 /usr/local/bin/kolla_manila_extend_start
|
RUN chmod 755 /usr/local/bin/kolla_manila_extend_start
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ RUN yum -y install \
|
|||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
RUN apt-get install -y --no-install-recommends \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
manila-common \
|
||||||
openvswitch-switch \
|
openvswitch-switch \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
manila-scheduler \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif%}
|
||||||
|
{% endif%}
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
USER manila
|
USER manila
|
||||||
|
Loading…
Reference in New Issue
Block a user