contrib/docker/centos5
branchstable
changeset 33626 aa7a3f6e3729
parent 23034 eea2e0f76a24
child 34424 1baa077214ae
--- a/contrib/docker/centos5	Sat Aug 05 13:19:09 2017 -0700
+++ b/contrib/docker/centos5	Mon Aug 07 13:38:25 2017 +0200
@@ -1,4 +1,7 @@
 FROM centos:centos5
+RUN sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
+RUN sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo
+RUN sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo
 RUN yum install -y gcc make rpm-build gettext tar
 RUN yum install -y python-devel python-docutils
 # For creating repo meta data