This is an automated email from the ASF dual-hosted git repository.

wangdan pushed a commit to branch fix-github-zk-hadoop
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/fix-github-zk-hadoop by this 
push:
     new 0a7199587 fix yum
0a7199587 is described below

commit 0a7199587a0c01679b0c7079a4f3684b8d4a57e5
Author: Dan Wang <[email protected]>
AuthorDate: Mon Sep 30 11:57:50 2024 +0800

    fix yum
---
 docker/pegasus-build-env/centos7/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/pegasus-build-env/centos7/Dockerfile 
b/docker/pegasus-build-env/centos7/Dockerfile
index 84c4effd6..22f3d3b30 100644
--- a/docker/pegasus-build-env/centos7/Dockerfile
+++ b/docker/pegasus-build-env/centos7/Dockerfile
@@ -23,7 +23,7 @@ RUN 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 -y install centos-release-scl \
-                   scl-utils \
+                   scl-utils --setopt=basearch=x86_64 \
                    epel-release && \
     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 && \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to