summaryrefslogtreecommitdiffstats
path: root/gluster-object/CentOS/docker-gluster-swift
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-05-18 17:30:29 +0530
committerMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-05-25 11:35:17 +0530
commitc0f25a2bf0712595e91830467f3db0086f438fa5 (patch)
tree52e439b7794f2333ca2bc622e6700076944102f0 /gluster-object/CentOS/docker-gluster-swift
parenta21c824de615c2e82134b91f042e7b6314189e5c (diff)
downloadgluster-c0f25a2bf0712595e91830467f3db0086f438fa5.tar.gz
gluster-c0f25a2bf0712595e91830467f3db0086f438fa5.tar.bz2
gluster-c0f25a2bf0712595e91830467f3db0086f438fa5.tar.xz
gluster-c0f25a2bf0712595e91830467f3db0086f438fa5.zip
Cleaning up RUN in dockerfile
This reduces the image size as it reduces the number of intermediate layers. Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
Diffstat (limited to 'gluster-object/CentOS/docker-gluster-swift')
-rw-r--r--gluster-object/CentOS/docker-gluster-swift/Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/gluster-object/CentOS/docker-gluster-swift/Dockerfile b/gluster-object/CentOS/docker-gluster-swift/Dockerfile
index e83a46e..99280b5 100644
--- a/gluster-object/CentOS/docker-gluster-swift/Dockerfile
+++ b/gluster-object/CentOS/docker-gluster-swift/Dockerfile
@@ -70,12 +70,12 @@ EXPOSE 8080
RUN echo 'root:password' | chpasswd
VOLUME [ "/sys/fs/cgroup" ]
-RUN systemctl enable swift-gen-builders.service
-RUN systemctl enable memcached.service
-RUN systemctl enable swift-proxy.service
-RUN systemctl enable swift-account.service
-RUN systemctl enable swift-container.service
-RUN systemctl enable swift-object.service
+RUN systemctl enable swift-gen-builders.service;\
+systemctl enable memcached.service;\
+systemctl enable swift-proxy.service;\
+systemctl enable swift-account.service;\
+systemctl enable swift-container.service;\
+systemctl enable swift-object.service;
ENTRYPOINT ["/usr/local/bin/update_gluster_vol.sh"]
CMD ["/usr/sbin/init"]