mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-14 11:29:04 +00:00
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-CENTOS7-GLIB2-2182590 - https://snyk.io/vuln/SNYK-CENTOS7-NSS-2308137 - https://snyk.io/vuln/SNYK-CENTOS7-NSSSYSINIT-2308141 - https://snyk.io/vuln/SNYK-CENTOS7-NSSTOOLS-2308139 - https://snyk.io/vuln/SNYK-CENTOS7-OPENSSLLIBS-2178963
18 lines
563 B
Docker
18 lines
563 B
Docker
FROM centos:latest
|
|
RUN yum install -y git
|
|
|
|
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
|
|
|
|
RUN true && \
|
|
chmod +x $SCRIPTDIR/*
|
|
|
|
ENV PH_TEST 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 && \
|