diff options
| author | Swapnil Kulkarni <me@coolsvap.net> | 2015-08-01 01:35:32 +0000 |
|---|---|---|
| committer | Swapnil Kulkarni <me@coolsvap.net> | 2015-08-01 04:00:08 +0000 |
| commit | 7159f947bb198ac8a49c516cce6c0f54bcf2286e (patch) | |
| tree | 6cccd6c24ae14425f6e1b72a8debe0947a18bf20 /docker/centos/source/swift/swift-data | |
| parent | 72f35b14d2309fd47ae1aff3d9a828fda6cc178f (diff) | |
| download | kolla-7159f947bb198ac8a49c516cce6c0f54bcf2286e.tar.gz kolla-7159f947bb198ac8a49c516cce6c0f54bcf2286e.zip | |
Add build from source for Swift
Change-Id: I0ee4dd03752b0b822dc49b2acaed1e39fcb1ab1e
Partially-implements: blueprint install-from-source
Diffstat (limited to 'docker/centos/source/swift/swift-data')
| -rw-r--r-- | docker/centos/source/swift/swift-data/Dockerfile | 13 | ||||
| l--------- | docker/centos/source/swift/swift-data/build | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docker/centos/source/swift/swift-data/Dockerfile b/docker/centos/source/swift/swift-data/Dockerfile new file mode 100644 index 000000000..ab675045c --- /dev/null +++ b/docker/centos/source/swift/swift-data/Dockerfile @@ -0,0 +1,13 @@ +FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%% +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +# NOTE(pbourke): This is emulating the Swift "all-in-one" setups where there are 3 disks/partitions +# on which to mirror data. This is extremely inefficient and is really only to prove everything +# works in an AIO setup. For production deploys the Ansible provisioned setup should be used. +VOLUME [ "/srv/node/sdb1" ] +VOLUME [ "/srv/node/sdb2" ] +VOLUME [ "/srv/node/sdb3" ] + +# Command needed to start the data container. +# Note: data containers do not need to be persistent. +CMD ["/bin/true"] diff --git a/docker/centos/source/swift/swift-data/build b/docker/centos/source/swift/swift-data/build new file mode 120000 index 000000000..ec1913803 --- /dev/null +++ b/docker/centos/source/swift/swift-data/build @@ -0,0 +1 @@ +../../../../../tools/build-docker-image
\ No newline at end of file |
