]> git.immae.eu Git - github/fretlink/docker-ansible.git/commitdiff
Fix: iputils failed in CentOS7 + AUFS centos7-master
authorWilliam Yeh <william.pjyeh@gmail.com>
Fri, 15 Sep 2017 06:45:07 +0000 (14:45 +0800)
committerWilliam Yeh <william.pjyeh@gmail.com>
Fri, 15 Sep 2017 06:45:07 +0000 (14:45 +0800)
@see https://github.com/CentOS/sig-cloud-instance-images/issues/77#issuecomment-295490209

master-centos7-onbuild/Dockerfile
master-centos7/Dockerfile

index 24d4ca96b44c4696e9696df168e627e331613eaa..c64e4ab1a2a593e8f5c39eeef71be1cc8c700d83 100644 (file)
@@ -33,7 +33,9 @@ RUN echo "===> Enabling systemd..."  && \
     \
     \
     echo "===> Installing EPEL..."   && \
-    yum -y install epel-release      && \
+    yum -y \
+           --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \
+           install epel-release      && \
     yum -y update                    && \
     \
     \
index 8f6a5b9fa4cf34f82914db10a5cd0e7d7bd31fa9..67b519188914c4baa9d8311eaf05f4701135c88f 100644 (file)
@@ -33,7 +33,9 @@ RUN echo "===> Enabling systemd..."  && \
     \
     \
     echo "===> Installing EPEL..."   && \
-    yum -y install epel-release      && \
+    yum -y \
+           --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \
+           install epel-release      && \
     yum -y update                    && \
     \
     \