mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 22:30:17 +00:00
Merge pull request #4778 from pi-hole/fix/epel_mirrors
Fix for epel mirror timeouts
This commit is contained in:
commit
c78aac3051
2 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,7 @@ ADD . $GITDIR
|
||||||
RUN cp $GITDIR/advanced/Scripts/*.sh $GITDIR/gravity.sh $GITDIR/pihole $GITDIR/automated\ install/*.sh $SCRIPTDIR/
|
RUN cp $GITDIR/advanced/Scripts/*.sh $GITDIR/gravity.sh $GITDIR/pihole $GITDIR/automated\ install/*.sh $SCRIPTDIR/
|
||||||
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$SCRIPTDIR
|
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$SCRIPTDIR
|
||||||
|
|
||||||
|
ADD test/centos7.epel.override /etc/yum/pluginconf.d/fastestmirror.conf
|
||||||
RUN true && \
|
RUN true && \
|
||||||
chmod +x $SCRIPTDIR/*
|
chmod +x $SCRIPTDIR/*
|
||||||
|
|
||||||
|
|
7
test/centos7.epel.override
Normal file
7
test/centos7.epel.override
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[main]
|
||||||
|
verbose = 0
|
||||||
|
socket_timeout = 3
|
||||||
|
enabled = 1
|
||||||
|
hostfilepath = /var/cache/yum/timedhosts.txt
|
||||||
|
maxhostfileage = 1
|
||||||
|
exclude=.edu
|
Loading…
Reference in a new issue