Skip to content

Commit

Permalink
Update Dockerfile.centos7 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinji-IkariG authored Sep 2, 2024
1 parent 3ced5ea commit 94abfb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG=en_US.utf8

RUN yum update -y && yum install -y epel-release \
RUN sed -i 's/^mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/CentOS-Base.repo && \
sed -i "s|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Base.repo && \
yum update -y && yum install -y epel-release \
&& yum install -y \
autoconf \
curl \
Expand Down

0 comments on commit 94abfb2

Please sign in to comment.