From bd5e5bbb64b20eb4c77c2a941973845d847e9d78 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 13 Aug 2015 14:26:55 -0700 Subject: Use one data container for all data volumes The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container --- docker/centos/binary/data/Dockerfile | 4 ++++ docker/centos/binary/data/build | 1 + 2 files changed, 5 insertions(+) create mode 100644 docker/centos/binary/data/Dockerfile create mode 120000 docker/centos/binary/data/build (limited to 'docker/centos/binary/data') diff --git a/docker/centos/binary/data/Dockerfile b/docker/centos/binary/data/Dockerfile new file mode 100644 index 000000000..635918540 --- /dev/null +++ b/docker/centos/binary/data/Dockerfile @@ -0,0 +1,4 @@ +FROM centos +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +CMD /bin/sleep infinity diff --git a/docker/centos/binary/data/build b/docker/centos/binary/data/build new file mode 120000 index 000000000..8d652f7ee --- /dev/null +++ b/docker/centos/binary/data/build @@ -0,0 +1 @@ +../../../../tools/build-docker-image \ No newline at end of file -- cgit v1.2.3