fix: remove useless mirror subsitution and RUN command (#1918)

fix: remove useless mirror subsitution and RUN command in builder docker file
This commit is contained in:
Lei, HUANG
2023-07-10 14:54:43 +08:00
committed by GitHub
parent 8e256b317d
commit c3db99513a

View File

@@ -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 \