File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ WORKDIR /build
6
6
# to http://vault.centos.org/
7
7
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
8
8
RUN sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
9
- RUN sed -i 's/ #\( baseurl.*\) mirror.centos.org/\1 107.158.252.35/ ' /etc/yum.repos.d/*.repo
9
+ RUN sed -i 's| #\( baseurl.*\) mirror.centos.org/centos/$releasever| \1 vault.centos.org/5.11| ' /etc/yum.repos.d/*.repo
10
10
11
11
RUN yum upgrade -y && yum install -y \
12
12
curl \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ WORKDIR /build
6
6
# to http://vault.centos.org/
7
7
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
8
8
RUN sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
9
- RUN sed -i 's/ #\( baseurl.*\) mirror.centos.org/\1 107.158.252.35/ ' /etc/yum.repos.d/*.repo
9
+ RUN sed -i 's| #\( baseurl.*\) mirror.centos.org/centos/$releasever| \1 vault.centos.org/5.11| ' /etc/yum.repos.d/*.repo
10
10
11
11
RUN yum upgrade -y && yum install -y \
12
12
curl \
You can’t perform that action at this time.
0 commit comments