We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b683939 + 6551473 commit e25cdbdCopy full SHA for e25cdbd
1 file changed
builds/Dockerfile
@@ -5,8 +5,8 @@ USER root
5
6
# Dependencies
7
# change deprecated mirror to vault.centos.org
8
-RUN sed -i 's|^mirrorlist=|#mirrorlist=|g' /etc/yum.repos.d/CentOS-AppStream.repo
9
-RUN sed -i 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-AppStream.repo
+RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
+RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
10
11
# install go and git
12
RUN dnf install -y golang git
0 commit comments