From 066d07f052ce32db0f4401f522bd2fca8338936b Mon Sep 17 00:00:00 2001 From: John D <427295+boostchicken@users.noreply.github.com> Date: Tue, 16 Nov 2021 08:27:13 -0800 Subject: [PATCH] Update upd_pihole_dote.sh --- run-pihole/upd_pihole_dote.sh | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/run-pihole/upd_pihole_dote.sh b/run-pihole/upd_pihole_dote.sh index c4a63e6..cc047b8 100755 --- a/run-pihole/upd_pihole_dote.sh +++ b/run-pihole/upd_pihole_dote.sh @@ -1,23 +1,5 @@ #!/bin/sh -set -e - -tmpdir="$(mktemp -d)" -curl -sSLo "${tmpdir}/dote" https://github.com/chrisstaite/DoTe/releases/latest/download/dote_arm64 - -cat > "${tmpdir}/Dockerfile" < /etc/cont-init.d/10-dote.sh -EOF - -podman pull pihole/pihole:latest -podman build -t pihole:latest --format docker -f "${tmpdir}/Dockerfile" "${tmpdir}" -rm -rf "${tmpdir}" - -set +e - podman stop pihole podman rm pihole podman run -d --network dns --restart always \ @@ -33,4 +15,4 @@ podman run -d --network dns --restart always \ -e PIHOLE_DNS_="127.0.0.1#5053" \ -e ServerIP="10.0.5.3" \ -e IPv6="False" \ - pihole:latest + boostchicken/pihole-dote:latest