From 38f2f45e2976f21c093d21fcba9fc4db29643318 Mon Sep 17 00:00:00 2001 From: wforget <643348094@qq.com> Date: Tue, 27 Aug 2024 16:07:52 +0800 Subject: [PATCH] [MINOR] Remove unnecessary repo replacement --- dev/vcpkg/docker/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev/vcpkg/docker/Dockerfile b/dev/vcpkg/docker/Dockerfile index e1c8a731302b..b31ba58f6550 100644 --- a/dev/vcpkg/docker/Dockerfile +++ b/dev/vcpkg/docker/Dockerfile @@ -1,10 +1,6 @@ FROM centos:7 -RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \ - -e 's|^#baseurl=http://mirror.centos.org/centos|baseurl=http://mirrors.edge.kernel.org/centos/|g' \ - -i.bak \ - /etc/yum.repos.d/CentOS-Base.repo -RUN sed -i "s/enabled=1/enabled=0/" /etc/yum/pluginconf.d/fastestmirror.conf +RUN sed -i "s/enabled=1/enabled=0/" /etc/yum/pluginconf.d/fastestmirror.conf WORKDIR /tmp/vcpkg COPY setup-build-depends.sh setup-build-depends.sh