summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 23:40:41 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 23:40:41 +0100
commitb5c677d36ade275a33ec2f7b79c6afddda6b3c0f (patch)
tree631c3e7bb1b62cfccf4b2860ff546f341717a721
parent79a50f429ba82aa904863f36435c3687e0df4ba7 (diff)
downloaddocker-b5c677d36ade275a33ec2f7b79c6afddda6b3c0f.tar.gz
Avoid using mirrorlists as we cache everything
-rw-r--r--99-ci-maipo/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/99-ci-maipo/Dockerfile b/99-ci-maipo/Dockerfile
index a1f5830..2dc29f2 100644
--- a/99-ci-maipo/Dockerfile
+++ b/99-ci-maipo/Dockerfile
@@ -42,6 +42,11 @@ RUN chmod -v a+rx \
ADD /vimrc /root/.vimrc
+RUN sed -r -i \
+ -e 's/^mirrorlist/#mirrorlist/g' \
+ -e 's/^#baseurl/baseurl/g' \
+ /etc/yum.repos.d/*.repo
+
RUN yum clean all && \
yum -y install epel-release && \
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && \