aboutsummaryrefslogtreecommitdiff
path: root/docker/cinder/cinder-volume/Dockerfile.j2
blob: 6393798bd957685b39c50365e1034af9a807675f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]

{{ include_footer }}