diff --git a/scripts/build_manylinux_in_docker.sh b/scripts/build_manylinux_in_docker.sh index 112cce02f..efae5c2a9 100755 --- a/scripts/build_manylinux_in_docker.sh +++ b/scripts/build_manylinux_in_docker.sh @@ -7,6 +7,10 @@ set -eux # Drop into a shell if something fails. trap 'if [ $? -ne 0 ]; then exec bash -i; fi' EXIT +sed -i -e 's/mirrorlist/#mirrorlist/g' \ + -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \ + /etc/yum.repos.d/CentOS-* + yum install -y \ bzip2-devel \ libzstd-devel \