This is an automated email from the ASF dual-hosted git repository.
richox pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git
The following commit(s) were added to refs/heads/master by this push:
new 2a988832 [AURON#1407] Fix CentOS 7 Dockerfile build failure. (#1408)
2a988832 is described below
commit 2a988832411c8d0cd886a8037b2da1092a45efff
Author: slfan1989 <[email protected]>
AuthorDate: Thu Oct 9 14:52:57 2025 +0800
[AURON#1407] Fix CentOS 7 Dockerfile build failure. (#1408)
* [AURON#1407] Fix CentOS 7 Dockerfile build failure.
* [AURON#1407] Fix CentOS 7 Dockerfile build failure.
* Update dev/docker-build/centos7/Dockerfile
Co-authored-by: Shreyesh <[email protected]>
---------
Co-authored-by: Shreyesh <[email protected]>
---
dev/docker-build/centos7/Dockerfile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev/docker-build/centos7/Dockerfile
b/dev/docker-build/centos7/Dockerfile
index 9d813842..9c240bfa 100644
--- a/dev/docker-build/centos7/Dockerfile
+++ b/dev/docker-build/centos7/Dockerfile
@@ -27,6 +27,9 @@ RUN yum install -y centos-release-scl epel-release
RUN sed -i "s/mirror.centos.org/vault.centos.org/g" /etc/yum.repos.d/*.repo
RUN sed -i "s/^#.*baseurl=http/baseurl=https/g" /etc/yum.repos.d/*.repo
RUN sed -i "s/^mirrorlist/#mirrorlist/g" /etc/yum.repos.d/*.repo
+RUN sed -i "s|^metalink=|#metalink=|g" /etc/yum.repos.d/epel.repo
+RUN sed -i
"s|https://download.fedoraproject.org/pub/epel|https://archives.fedoraproject.org/pub/archive/epel|g"
/etc/yum.repos.d/epel.repo
+RUN yum clean all && yum makecache
RUN yum install -y libzip unzip openssl-devel
# install gcc-11