Skip to content

Commit

Permalink
use fixed ip for vault.centos.org until updates have propagated to al…
Browse files Browse the repository at this point in the history
…l mirrors
  • Loading branch information
TimNN committed Apr 3, 2017
1 parent 802c11c commit 6dc8869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/docker/dist-x86-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /build
# 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/\1vault.centos.org/' /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 \
Expand Down

0 comments on commit 6dc8869

Please sign in to comment.