Skip to content

Commit

Permalink
Merge pull request #1182 from pi-hole/dev
Browse files Browse the repository at this point in the history
Dev -> Master
  • Loading branch information
PromoFaux committed Aug 25, 2022
2 parents 4241e50 + cbd86ca commit 9039a73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV S6_OVERLAY_VERSION v3.1.1.2
COPY ./scripts/install.sh /usr/local/bin/install.sh
ENV PIHOLE_INSTALL /etc/.pihole/automated\ install/basic-install.sh

ENTRYPOINT [ "/init" ]
ENTRYPOINT [ "/s6-init" ]

COPY s6/debian-root /
COPY s6/service /usr/local/bin/service
Expand Down
6 changes: 6 additions & 0 deletions src/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ detect_arch
curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jxpf - -C /
curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar Jxpf - -C /

# IMPORTANT: #########################################################################
# Move /init somewhere else to prevent issues with podman/RHEL #
# See: https://github.com/pi-hole/docker-pi-hole/issues/1176#issuecomment-1227587045 #
mv /init /s6-init #
######################################################################################

# Preseed variables to assist with using --unattended install
{
echo "PIHOLE_INTERFACE=eth0"
Expand Down
2 changes: 1 addition & 1 deletion test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ testinfra==3.3.0
texttable==1.6.2
toml==0.10.0
tox==3.14.3
urllib3==1.25.9
urllib3==1.26.5
virtualenv==16.7.9
wcwidth==0.1.7
websocket-client==0.57.0
Expand Down

0 comments on commit 9039a73

Please sign in to comment.