From c3db99513a9975bd25fad3080850fb0ed7e19983 Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" <6406592+v0y4g3r@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:54:43 +0800 Subject: [PATCH] fix: remove useless mirror subsitution and RUN command (#1918) fix: remove useless mirror subsitution and RUN command in builder docker file --- docker/Dockerfile-centos7-builder | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker/Dockerfile-centos7-builder b/docker/Dockerfile-centos7-builder index 92c7681225ec..5d31a52d1deb 100644 --- a/docker/Dockerfile-centos7-builder +++ b/docker/Dockerfile-centos7-builder @@ -3,13 +3,8 @@ FROM centos:7 ENV LANG en_US.utf8 WORKDIR /greptimedb -RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \ - -e 's|^#baseurl=http://mirror.centos.org/centos|baseurl=http://mirrors.tuna.tsinghua.edu.cn/centos|g' \ - -i.bak \ - /etc/yum.repos.d/CentOS-*.repo - # Install dependencies -RUN RUN ulimit -n 1024000 && yum groupinstall -y 'Development Tools' +RUN ulimit -n 1024000 && yum groupinstall -y 'Development Tools' RUN yum install -y epel-release \ openssl \ openssl-devel \