From e80c9abd8332f4909ab7008e22c200e5fc9f0ff2 Mon Sep 17 00:00:00 2001 From: Gertjan Krol Date: Thu, 17 Nov 2022 23:30:07 +0100 Subject: [PATCH] 1.17.0 Fixes --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46a9dc0..1faf489 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,14 @@ RUN apk --update add --no-cache alpine-sdk bison dns-root-hints expat-dev flex g apk del alpine-sdk bison expat-dev flex git openssl-dev # Prepare image -COPY entrypoint.sh / +COPY entrypoint.sh /srv/ COPY healthcheck.sh /srv/ ## Prepare unbound +RUN addgroup -S unbound +RUN adduser -S -G unbound unbound RUN mkdir -p /srv/unbound/conf COPY unbound.conf /srv/unbound/unbound.conf HEALTHCHECK --interval=30s --timeout=2s --retries=1 CMD sh /srv/healthcheck.sh -ENTRYPOINT ["sh", "/entrypoint.sh"] +ENTRYPOINT ["sh", "/srv/entrypoint.sh"]