aboutsummaryrefslogtreecommitdiff
path: root/docker/glance
diff options
context:
space:
mode:
authorIan Main <imain@redhat.com>2015-06-15 16:48:35 -0400
committerIan Main <imain@redhat.com>2015-06-18 13:48:22 -0400
commit2482f718f840dbea42f4c452238c5b096e1fd6b4 (patch)
tree6813772e0dcaad03bde255f3dcc99bc8e0bac45d /docker/glance
parent0c5d6575ed7eb86886ae9e7e6ec693616db938d3 (diff)
downloadkolla-2482f718f840dbea42f4c452238c5b096e1fd6b4.tar.gz
kolla-2482f718f840dbea42f4c452238c5b096e1fd6b4.zip
Set up glance to use a data container.
Glance images were originally intended to be stored on the host (see container Dockerfile) but the compose file was not doing this. The right thing is to use a data container for image content. Closes-bug: #1465401 Change-Id: I02d2aab2913356939d98b8c18f9e788ae6d901af Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Diffstat (limited to 'docker/glance')
-rw-r--r--docker/glance/glance-data/Dockerfile5
l---------docker/glance/glance-data/build1
2 files changed, 6 insertions, 0 deletions
diff --git a/docker/glance/glance-data/Dockerfile b/docker/glance/glance-data/Dockerfile
new file mode 100644
index 000000000..e99c60eca
--- /dev/null
+++ b/docker/glance/glance-data/Dockerfile
@@ -0,0 +1,5 @@
+FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+VOLUME [ "/var/lib/glance" ]
+CMD ["/bin/true"]
diff --git a/docker/glance/glance-data/build b/docker/glance/glance-data/build
new file mode 120000
index 000000000..43944faa0
--- /dev/null
+++ b/docker/glance/glance-data/build
@@ -0,0 +1 @@
+../../../tools/build-docker-image \ No newline at end of file