summaryrefslogtreecommitdiffstats
path: root/gluster-client
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-client
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-client')
-rw-r--r--gluster-client/Dockerfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/gluster-client/Dockerfile b/gluster-client/Dockerfile
index 8621ef8..9f28b4e 100644
--- a/gluster-client/Dockerfile
+++ b/gluster-client/Dockerfile
@@ -14,10 +14,9 @@ LABEL architecture="x86_64" \
ENV container docker
-RUN dnf --setopt=tsflags=nodocs -y update; dnf --setopt=tsflags=nodocs -y install wget nfs-utils attr iputils iproute; dnf clean all;
-
-RUN sed -i "s/LANG/\#LANG/g" /etc/locale.conf
-
-RUN dnf install -y glusterfs-fuse; dnf clean all;
+RUN dnf --setopt=tsflags=nodocs -y update; dnf --setopt=tsflags=nodocs -y install wget nfs-utils attr iputils iproute; \
+sed -i "s/LANG/\#LANG/g" /etc/locale.conf;\
+dnf install -y glusterfs-fuse;\
+dnf clean all;
CMD ["/bin/bash"]