summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-03-07 06:04:56 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-03-07 06:04:56 +0100
commit13f68e698ef21ce9f2991700d27544344380354a (patch)
tree85c0967e7002511cb0f38a2bc7973dadab691e07
parent41f3e900795200fc5f653f21018f6806af9cc12c (diff)
downloaddocker-13f68e698ef21ce9f2991700d27544344380354a.tar.gz
Disable mirrorlists sooner
-rw-r--r--99-ci-maipo/Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/99-ci-maipo/Dockerfile b/99-ci-maipo/Dockerfile
index a1eac46..8ead9ab 100644
--- a/99-ci-maipo/Dockerfile
+++ b/99-ci-maipo/Dockerfile
@@ -3,6 +3,11 @@ MAINTAINER Kolab Systems <vanmeeuwen@kolabsys.com>
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
+RUN sed -r -i \
+ -e 's/^mirrorlist/#mirrorlist/g' \
+ -e 's/^#baseurl/baseurl/g' \
+ /etc/yum.repos.d/*.repo
+
RUN yum -y install wget && \
yum clean all
@@ -48,11 +53,6 @@ ADD /httpd.service /etc/systemd/system/httpd.service
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 && \