From 16eb211ec31b351230d69191906e9054205b83af Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Fri, 26 Sep 2025 22:45:30 -0700 Subject: fix: entrypoint/anchor unbound --- src/unbound-adblock/Dockerfile | 2 +- src/unbound-adblock/bin/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unbound-adblock/Dockerfile b/src/unbound-adblock/Dockerfile index 196a37c..bd5939f 100644 --- a/src/unbound-adblock/Dockerfile +++ b/src/unbound-adblock/Dockerfile @@ -3,6 +3,6 @@ FROM public.ecr.aws/x2w2w0z4/base:${BASE_VER} COPY bin/entrypoint.sh /usr/bin/entrypoint.sh COPY etc/unbound.base.conf /etc/unbound/unbound.conf.d/unbound.base.conf -RUN install_deb unbound +RUN install_deb unbound unbound-anchor ENTRYPOINT ["/usr/bin/entrypoint.sh"] diff --git a/src/unbound-adblock/bin/entrypoint.sh b/src/unbound-adblock/bin/entrypoint.sh index 24a18a7..b9dd19d 100755 --- a/src/unbound-adblock/bin/entrypoint.sh +++ b/src/unbound-adblock/bin/entrypoint.sh @@ -16,7 +16,7 @@ fi # Update root trust anchor log "Updating root trust anchor..." -if /usr/libexec/unbound-helper root_trust_anchor_update; then +if unbound-anchor -a /var/lib/unbound/root.key; then log "Root trust anchor updated successfully" else log "ERROR: Root trust anchor update failed" -- cgit v1.2.3