diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-01-11 11:01:30 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-01-15 15:23:09 +0800 |
| commit | 1cf92be7b2380634f636dffc98c98016271bd6e7 (patch) | |
| tree | 8399f6503884a91c40644b25f968b97baf033ee7 /docker/swift/swift-object | |
| parent | 4bdf8bfa84ca5bdaa65713d61eaa8c9527aac4d6 (diff) | |
| download | kolla-1cf92be7b2380634f636dffc98c98016271bd6e7.tar.gz kolla-1cf92be7b2380634f636dffc98c98016271bd6e7.zip | |
Share the same image between swift services
Get rid of swfit children images by share the same image in the swift
account, swift object and swift container services
Closes-Bug: #1534476
Change-Id: I929689f93b56396a41b19fda46e4679c4de84ca1
Diffstat (limited to 'docker/swift/swift-object')
| -rw-r--r-- | docker/swift/swift-object/Dockerfile.j2 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/swift/swift-object/Dockerfile.j2 b/docker/swift/swift-object/Dockerfile.j2 new file mode 100644 index 000000000..5dc27404f --- /dev/null +++ b/docker/swift/swift-object/Dockerfile.j2 @@ -0,0 +1,13 @@ +FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }} +MAINTAINER {{ maintainer }} + +{% if install_type == 'binary' %} + {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} + +RUN yum -y install openstack-swift-object \ + && yum clean all + + {% endif %} +{% endif %} + +{{ include_footer }} |
