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 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'master-centos7-onbuild') 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 && \ \ \ -- cgit v1.2.3