Skip to content

Commit

Permalink
fix: remove useless mirror subsitution and RUN command (GreptimeTeam#…
Browse files Browse the repository at this point in the history
…1918)

fix: remove useless mirror subsitution and RUN command in builder docker file
  • Loading branch information
v0y4g3r authored Jul 10, 2023
1 parent 8e256b3 commit c3db995
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docker/Dockerfile-centos7-builder
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c3db995

Please sign in to comment.