Skip to content

Commit

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

Co-authored-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
ti-chi-bot and wuhuizuo committed Jul 5, 2024
1 parent 1603952 commit 4ff6b55
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 4ff6b55

Please sign in to comment.