File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,13 @@ jobs:
1111 matrix :
1212 label :
1313 - CentOS 7 x86_64
14- - CentOS Stream 8 x86_64
1514 - RockyLinux 8 x86_64
1615 - Amazon Linux 2 x86_64
1716 include :
1817 - label : CentOS 7 x86_64
1918 rake-job : centos-7
2019 test-docker-image : centos:7
2120 centos-stream : false
22- - label : CentOS Stream 8 x86_64
23- rake-job : centos-stream-8
24- test-docker-image : centos:8
25- centos-stream : true
2621 - label : RockyLinux 8 x86_64
2722 rake-job : rockylinux-8
2823 test-docker-image : rockylinux/rockylinux:8
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ ARG DEBUG
2424
2525RUN \
2626 quiet=$([ "${DEBUG}" = "yes" ] || echo "--quiet" ) && \
27+ sed -i 's|^mirrorlist|#mirrorlist|g' /etc/yum.repos.d/CentOS-*.repo && \
28+ sed -i 's|^#baseurl=http://mirror.centos.org/|baseurl=http://vault.centos.org/|g' /etc/yum.repos.d/CentOS-*.repo && \
2729 dnf install --enablerepo=powertools -y ${quiet} \
2830 make \
2931 gcc-c++ \
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ ARG DEBUG
2424
2525RUN \
2626 quiet=$([ "${DEBUG}" = "yes" ] || echo "--quiet" ) && \
27+ sed -i 's|^mirrorlist|#mirrorlist|g' /etc/yum.repos.d/CentOS-*.repo && \
28+ sed -i 's|^#baseurl=http://mirror.centos.org/|baseurl=http://vault.centos.org/|g' /etc/yum.repos.d/CentOS-*.repo && \
2729 dnf install centos-release-stream -y && \
2830 dnf swap centos-{linux,stream}-repos -y && \
2931 dnf distro-sync -y && \
You can’t perform that action at this time.
0 commit comments