From: William Yeh Date: Fri, 15 Sep 2017 06:45:07 +0000 (+0800) Subject: Fix: iputils failed in CentOS7 + AUFS X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=50826eeb0f9d4b92b3881444cc3d9f3b14304fb8;p=github%2Ffretlink%2Fdocker-ansible.git Fix: iputils failed in CentOS7 + AUFS @see https://github.com/CentOS/sig-cloud-instance-images/issues/77#issuecomment-295490209 --- diff --git a/master-centos7-onbuild/Dockerfile b/master-centos7-onbuild/Dockerfile index 24d4ca9..c64e4ab 100644 --- a/master-centos7-onbuild/Dockerfile +++ b/master-centos7-onbuild/Dockerfile @@ -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 && \ \ \ diff --git a/master-centos7/Dockerfile b/master-centos7/Dockerfile index 8f6a5b9..67b5191 100644 --- a/master-centos7/Dockerfile +++ b/master-centos7/Dockerfile @@ -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 && \ \ \