aboutsummaryrefslogtreecommitdiff
path: root/docker_templates/cinder/cinder-data
diff options
context:
space:
mode:
authorSwapnil Kulkarni <me@coolsvap.net>2015-08-12 10:38:06 +0000
committerSwapnil Kulkarni <me@coolsvap.net>2015-08-13 06:04:14 +0000
commit87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc (patch)
tree266d5790e0fad805518b22f82adb02b16589fb8e /docker_templates/cinder/cinder-data
parenta0a859ac9281dc28e7e0e2d3ae002b068af6f706 (diff)
downloadkolla-87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc.tar.gz
kolla-87b8d2c1331d9bf5fbbb970c5e43b3d65db9c3cc.zip
Add Dockerfile template for Cinder
Change-Id: I3791b58f15802f9ddbedb48d1a846813b05e0209 Partially-Implements: blueprint dockerfile-template
Diffstat (limited to 'docker_templates/cinder/cinder-data')
-rw-r--r--docker_templates/cinder/cinder-data/Dockerfile.j29
l---------docker_templates/cinder/cinder-data/build1
2 files changed, 10 insertions, 0 deletions
diff --git a/docker_templates/cinder/cinder-data/Dockerfile.j2 b/docker_templates/cinder/cinder-data/Dockerfile.j2
new file mode 100644
index 000000000..fd45dd31d
--- /dev/null
+++ b/docker_templates/cinder/cinder-data/Dockerfile.j2
@@ -0,0 +1,9 @@
+FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-cinder-base:{{ tag }}
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+RUN mkdir -p /opt/data
+VOLUME [ "/opt/data" ]
+
+# Command needed to start the data container.
+# Note: data containers do not need to be persistent.
+CMD ["/bin/true"]
diff --git a/docker_templates/cinder/cinder-data/build b/docker_templates/cinder/cinder-data/build
new file mode 120000
index 000000000..43944faa0
--- /dev/null
+++ b/docker_templates/cinder/cinder-data/build
@@ -0,0 +1 @@
+../../../tools/build-docker-image \ No newline at end of file