mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +00:00
518cbd10e0
Signed-off-by: Christian König <ckoenig@posteo.de>
20 lines
650 B
Docker
20 lines
650 B
Docker
FROM centos:7
|
|
RUN yum install -y dialog git python3
|
|
|
|
ENV GITDIR /etc/.pihole
|
|
ENV SCRIPTDIR /opt/pihole
|
|
|
|
RUN mkdir -p $GITDIR $SCRIPTDIR /etc/pihole
|
|
ADD . $GITDIR
|
|
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
|
|
|
|
ADD test/centos7.epel.override /etc/yum/pluginconf.d/fastestmirror.conf
|
|
RUN true && \
|
|
chmod +x $SCRIPTDIR/*
|
|
|
|
ENV SKIP_INSTALL true
|
|
ENV OS_CHECK_DOMAIN_NAME dev-supportedos.pi-hole.net
|
|
|
|
#sed '/# Start the installer/Q' /opt/pihole/basic-install.sh > /opt/pihole/stub_basic-install.sh && \
|