|
|
|
@ -1,5 +1,13 @@
|
|
|
|
|
FROM quay.io/centos/centos:stream9
|
|
|
|
|
RUN yum install -y --allowerasing curl git initscripts
|
|
|
|
|
RUN yum install -y --allowerasing curl git systemd
|
|
|
|
|
|
|
|
|
|
RUN rm -f /lib/systemd/system/multi-user.target.wants/* \
|
|
|
|
|
/etc/systemd/system/*.wants/* \
|
|
|
|
|
/lib/systemd/system/local-fs.target.wants/* \
|
|
|
|
|
/lib/systemd/system/sockets.target.wants/*udev* \
|
|
|
|
|
/lib/systemd/system/sockets.target.wants/*initctl* \
|
|
|
|
|
/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup* \
|
|
|
|
|
/lib/systemd/system/systemd-update-utmp*
|
|
|
|
|
|
|
|
|
|
ENV GITDIR /etc/.pihole
|
|
|
|
|
ENV SCRIPTDIR /opt/pihole
|
|
|
|
@ -15,4 +23,4 @@ RUN true && \
|
|
|
|
|
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 && \
|
|
|
|
|
CMD ["/usr/sbin/init"]
|
|
|
|
|