summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Ashiq <mliyazud@redhat.com>2017-06-05 08:35:05 +0000
committerGitHub <noreply@github.com>2017-06-05 08:35:05 +0000
commit8e29c3a6f749837e694a6cb031b8740935a62dc3 (patch)
treec3a88750233d247453fa51bc2c4c5c378fe5fabc
parenta65c135d48c74880c2935c098f425f9a2712c5d1 (diff)
downloadgluster-8e29c3a6f749837e694a6cb031b8740935a62dc3.tar.gz
gluster-8e29c3a6f749837e694a6cb031b8740935a62dc3.tar.bz2
gluster-8e29c3a6f749837e694a6cb031b8740935a62dc3.tar.xz
gluster-8e29c3a6f749837e694a6cb031b8740935a62dc3.zip
remove the gluster swift source after installing.
-rw-r--r--gluster-object/CentOS/docker-gluster-swift/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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