diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2015-04-14 11:39:38 -0400 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2015-06-18 13:46:49 -0400 |
| commit | 793d68a29ca0a3724714b27441ddd87ecbe0e44d (patch) | |
| tree | dbf0dbc7ed6d8ca644430b53aa50f37934d400c7 /docker/centos/binary/cinder-app/cinder-volume/Dockerfile | |
| parent | 0c5d6575ed7eb86886ae9e7e6ec693616db938d3 (diff) | |
| download | kolla-793d68a29ca0a3724714b27441ddd87ecbe0e44d.tar.gz kolla-793d68a29ca0a3724714b27441ddd87ecbe0e44d.zip | |
Cinder container
Cinder is going to be split up into four containers.
- cinder-api
- cinder-scheduler
- cinder-volume
- cinder-backup
Co-Authored-By: Daneyon Hansen <danehans@cisco.com>
Co-Authored-By: Ian Main <imain@redhat.com>
Implements: blueprint cinder-container
Closes-bug: #1460136
Change-Id: I688471151ffa54d547b9aa0f2f2e2ea7f68f288d
Diffstat (limited to 'docker/centos/binary/cinder-app/cinder-volume/Dockerfile')
| -rw-r--r-- | docker/centos/binary/cinder-app/cinder-volume/Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/centos/binary/cinder-app/cinder-volume/Dockerfile b/docker/centos/binary/cinder-app/cinder-volume/Dockerfile new file mode 100644 index 000000000..d82fed03c --- /dev/null +++ b/docker/centos/binary/cinder-app/cinder-volume/Dockerfile @@ -0,0 +1,17 @@ +FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-base:%%KOLLA_TAG%% +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +# Install required packages +# https://bugs.launchpad.net/kolla/+bug/1460129 +# Iscsi will be removed from cinder-volume in a later patch +# so that we continue to follow the container best practices. +# There will also be other backends for cinder and iscsi should +# not be hardcoded here. +RUN yum install -y lvm2 scsi-target-utils && yum clean all + +# Add start scripts +COPY start.sh /start.sh +COPY volume-group-create.sh /opt/kolla/volume-group-create.sh + +# Start supervisor +CMD ["/start.sh"] |
