Skip to content

Commit e25cdbd

Browse files
authored
Merge pull request #81 from smartcontractkit/sish/fix-build-image
Fix docker build image
2 parents b683939 + 6551473 commit e25cdbd

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)