fix rollup
This commit is contained in:
parent
efdf05d91e
commit
dd7fc23a21
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,12 @@ FROM centos:5
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
# Centos 5 is EOL and is no longer available from the usual mirrors, so switch
|
||||||
|
# to http://vault.centos.org/
|
||||||
|
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
|
||||||
|
RUN sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
|
||||||
|
RUN sed -i 's/#\(baseurl.*\)mirror.centos.org/\1107.158.252.35/' /etc/yum.repos.d/*.repo
|
||||||
|
|
||||||
RUN yum upgrade -y && yum install -y \
|
RUN yum upgrade -y && yum install -y \
|
||||||
curl \
|
curl \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue