aboutsummaryrefslogtreecommitdiff
path: root/docker_templates/cinder/cinder-data
diff options
context:
space:
mode:
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