Skip to content

Commit

Permalink
build: fix docker image misc script (#9178) (#9185)
Browse files Browse the repository at this point in the history
close #9179

Co-authored-by: wuhuizuo <[email protected]>
  • Loading branch information
ti-chi-bot and wuhuizuo authored Jul 5, 2024
1 parent 15f6afa commit b2f55d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion release-centos7-llvm/dockerfiles/misc/prepare_basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
# Prepare basic environment for CI/CD.

function prepare_basic() {
yum install -y epel-release centos-release-scl
yum install -y epel-release centos-release-scl && \
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
yum install -y \
devscripts \
fakeroot \
Expand Down

0 comments on commit b2f55d2

Please sign in to comment.