From 7fd7e96adb29f98274b11f97fdadad766c06bbaf Mon Sep 17 00:00:00 2001 From: Dennis Marttinen Date: Thu, 4 Jun 2020 11:09:59 +0300 Subject: [PATCH] Shadow the bogus /etc/resolv.conf of centos:8 Signed-off-by: Dennis Marttinen --- images/centos/Dockerfile | 3 +++ images/centos/resolv.conf | 0 2 files changed, 3 insertions(+) create mode 100644 images/centos/resolv.conf diff --git a/images/centos/Dockerfile b/images/centos/Dockerfile index 5b972131b..8374f950b 100644 --- a/images/centos/Dockerfile +++ b/images/centos/Dockerfile @@ -2,6 +2,9 @@ ARG RELEASE FROM centos:${RELEASE} +# Shadow the bogus /etc/resolv.conf of centos:8 by copying a blank file over it +COPY resolv.conf /etc/ + # Install common utilities RUN yum -y install \ iproute \ diff --git a/images/centos/resolv.conf b/images/centos/resolv.conf new file mode 100644 index 000000000..e69de29bb