Cinder ubuntu binary container
Change-Id: Idfdeee030441a61e5bb1936dea9e5e84c243f156 Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
parent
e8e8a9a2ab
commit
29d39b338e
@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
|
||||
RUN yum install -y python-keystone \
|
||||
&& yum clean all
|
||||
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
cinder-api \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -1,6 +1,16 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
|
||||
MAINTAINER {{ maintainer }}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
cinder-backup \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER cinder
|
||||
|
@ -13,6 +13,15 @@ RUN yum -y install openstack-cinder \
|
||||
&& yum clean all \
|
||||
&& mkdir -p /etc/ceph
|
||||
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
cinder-common \
|
||||
ceph-common \
|
||||
lvm2 \
|
||||
&& apt-get clean \
|
||||
&& mkdir -p /etc/ceph
|
||||
|
||||
{% endif %}
|
||||
{% elif install_type == 'source' %}
|
||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||
|
@ -1,6 +1,16 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
|
||||
MAINTAINER {{ maintainer }}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
cinder-scheduler \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER cinder
|
||||
|
@ -9,6 +9,12 @@ RUN yum install -y \
|
||||
scsi-target-utils \
|
||||
&& yum clean all
|
||||
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
cinder-volume \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user