From 50826eeb0f9d4b92b3881444cc3d9f3b14304fb8 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Fri, 15 Sep 2017 14:45:07 +0800 Subject: Fix: iputils failed in CentOS7 + AUFS @see https://github.com/CentOS/sig-cloud-instance-images/issues/77#issuecomment-295490209 --- master-centos7-onbuild/Dockerfile | 4 +++- master-centos7/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 && \ \ \ -- cgit v1.2.3