Skip to content

Commit

Permalink
fix rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN committed Apr 4, 2017
1 parent efdf05d commit dd7fc23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ci/docker/dist-x86_64-linux/Dockerfile
Expand Up @@ -2,6 +2,12 @@ FROM centos:5

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 \
curl \
bzip2 \
Expand Down

0 comments on commit dd7fc23

Please sign in to comment.