From 8e29c3a6f749837e694a6cb031b8740935a62dc3 Mon Sep 17 00:00:00 2001 From: Mohamed Ashiq Date: Mon, 5 Jun 2017 08:35:05 +0000 Subject: remove the gluster swift source after installing. --- gluster-object/CentOS/docker-gluster-swift/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gluster-object') diff --git a/gluster-object/CentOS/docker-gluster-swift/Dockerfile b/gluster-object/CentOS/docker-gluster-swift/Dockerfile index 99280b5..9ec1e2f 100644 --- a/gluster-object/CentOS/docker-gluster-swift/Dockerfile +++ b/gluster-object/CentOS/docker-gluster-swift/Dockerfile @@ -42,7 +42,8 @@ RUN yum -v --setopt=tsflags=nodocs -y update && \ RUN git clone git://review.gluster.org/gluster-swift /tmp/gluster-swift && \ cd /tmp/gluster-swift && \ python setup.py install && \ - cd - + cd - && \ + rm -rf /tmp/gluster-swift # Gluster volumes will be mounted *under* this directory. VOLUME /mnt/gluster-object -- cgit v1.2.3