Skip to content

Commit 6551473

Browse files
committed
fix build image
1 parent b683939 commit 6551473

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builds/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ USER root
55

66
# Dependencies
77
# 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
8+
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
9+
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
1010

1111
# install go and git
1212
RUN dnf install -y golang git

0 commit comments

Comments
 (0)