From c0f25a2bf0712595e91830467f3db0086f438fa5 Mon Sep 17 00:00:00 2001 From: Mohamed Ashiq Liyazudeen Date: Thu, 18 May 2017 17:30:29 +0530 Subject: Cleaning up RUN in dockerfile This reduces the image size as it reduces the number of intermediate layers. Signed-off-by: Mohamed Ashiq Liyazudeen --- gluster-object/CentOS/docker-gluster-swift/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gluster-object') 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"] -- cgit v1.2.3