Skip to content

Commit 8ef53fa

Browse files
authored
Merge pull request #1369 from scop/test/centos7-container-build
test(docker): fix centos7 image build
2 parents fd6972d + d7b169c commit 8ef53fa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/docker/centos7/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ FROM centos:7
33
RUN set -x \
44
&& sed -i -e /tsflags=nodocs/d /etc/yum.conf \
55
&& yum -y install \
6-
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
6+
https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm \
7+
&& sed -i \
8+
-e 's/^mirrorlist/#mirrorlist/' \
9+
-e 's/mirror\.centos\.org/vault.centos.org/' \
10+
-e 's|^#\(baseurl=http.*/vault\)|\1|' \
11+
/etc/yum.repos.d/*.repo \
712
&& yum -y upgrade \
813
&& yum -y install \
914
/usr/bin/autoconf \

0 commit comments

Comments
 (0)