87b8d2c133
Change-Id: I3791b58f15802f9ddbedb48d1a846813b05e0209 Partially-Implements: blueprint dockerfile-template
18 lines
408 B
Django/Jinja
18 lines
408 B
Django/Jinja
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-cinder-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
|
|
|
|
RUN yum install -y lvm2 \
|
|
scsi-target-utils \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
COPY ./start.sh /
|
|
COPY config-external.sh /opt/kolla/
|
|
|
|
CMD ["/start.sh"]
|