summaryrefslogtreecommitdiffstats
path: root/CentOS
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2016-06-24 13:35:31 +0530
committerMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2016-06-24 13:35:31 +0530
commit8578f5f3f4ae3f7b846e1a000f46838cb4cf46bf (patch)
tree595c6516e0a30fcbf246ab416735d9e79cae3936 /CentOS
parenta37aa2f59a01c62111d3689f2695c607dee332af (diff)
downloadgluster-8578f5f3f4ae3f7b846e1a000f46838cb4cf46bf.tar.gz
gluster-8578f5f3f4ae3f7b846e1a000f46838cb4cf46bf.tar.bz2
gluster-8578f5f3f4ae3f7b846e1a000f46838cb4cf46bf.tar.xz
gluster-8578f5f3f4ae3f7b846e1a000f46838cb4cf46bf.zip
update Dockerfile
Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
Diffstat (limited to 'CentOS')
-rw-r--r--CentOS/Dockerfile5
1 files changed, 0 insertions, 5 deletions
diff --git a/CentOS/Dockerfile b/CentOS/Dockerfile
index ef5c86a..f2781db 100644
--- a/CentOS/Dockerfile
+++ b/CentOS/Dockerfile
@@ -18,14 +18,10 @@ rm -f /lib/systemd/system/anaconda.target.wants/*;
RUN yum --setopt=tsflags=nodocs -y install wget nfs-utils attr iputils iproute
RUN wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo -O /etc/yum.repos.d/glusterfs-epel.repo
-
RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; rpm -ivh epel-release-latest-7.noarch.rpm; rm epel-release-latest-7.noarch.rpm;
-
RUN yum --setopt=tsflags=nodocs -y install openssh-server openssh-clients ntp rsync tar cronie sudo xfsprogs glusterfs glusterfs-server glusterfs-geo-replication;yum clean all;
-RUN echo 'root:password' | chpasswd
-VOLUME [ "/sys/fs/cgroup" ]
RUN sed -i '/Defaults requiretty/c\#Defaults requiretty' /etc/sudoers
# Changing the port of sshd to avoid conflicting with host sshd
@@ -57,4 +53,3 @@ RUN systemctl enable gluster-setup.service
EXPOSE 2222 111 245 443 24007 2049 8080 6010 6011 6012 38465 38466 38468 38469 49152 49153 49154 49156 49157 49158 49159 49160 49161 49162
CMD ["/usr/sbin/init"]
-