diff options
author | William Yeh <william.pjyeh@gmail.com> | 2017-09-15 14:45:07 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2017-09-15 14:45:07 +0800 |
commit | 50826eeb0f9d4b92b3881444cc3d9f3b14304fb8 (patch) | |
tree | 031a10e2a1bc9cfae4d75fbdc745030c0c8de972 | |
parent | deeab1a101da6710574174dbe47199f9e8900b93 (diff) | |
download | docker-ansible-50826eeb0f9d4b92b3881444cc3d9f3b14304fb8.tar.gz docker-ansible-50826eeb0f9d4b92b3881444cc3d9f3b14304fb8.tar.zst docker-ansible-50826eeb0f9d4b92b3881444cc3d9f3b14304fb8.zip |
Fix: iputils failed in CentOS7 + AUFScentos7-master
@see https://github.com/CentOS/sig-cloud-instance-images/issues/77#issuecomment-295490209
-rw-r--r-- | master-centos7-onbuild/Dockerfile | 4 | ||||
-rw-r--r-- | 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..." && \ | |||
33 | \ | 33 | \ |
34 | \ | 34 | \ |
35 | echo "===> Installing EPEL..." && \ | 35 | echo "===> Installing EPEL..." && \ |
36 | yum -y install epel-release && \ | 36 | yum -y \ |
37 | --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \ | ||
38 | install epel-release && \ | ||
37 | yum -y update && \ | 39 | yum -y update && \ |
38 | \ | 40 | \ |
39 | \ | 41 | \ |
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..." && \ | |||
33 | \ | 33 | \ |
34 | \ | 34 | \ |
35 | echo "===> Installing EPEL..." && \ | 35 | echo "===> Installing EPEL..." && \ |
36 | yum -y install epel-release && \ | 36 | yum -y \ |
37 | --exclude=openssh-* --exclude=policycoreutils* --exclude=libsemanage-* --exclude=selinux-* --exclude=iputils \ | ||
38 | install epel-release && \ | ||
37 | yum -y update && \ | 39 | yum -y update && \ |
38 | \ | 40 | \ |
39 | \ | 41 | \ |