Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Mar 21, 2024
1 parent 1a7e437 commit a266069
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM alpine:3.19.1

RUN apk add --no-cache ca-certificates tzdata tini unbound bind-tools && \
wget https://www.internic.net/domain/named.root -O /etc/unbound/root.hints && \
unbound-anchor -a /etc/unbound/root.key || if [ "$?" == "1" ]; then exit 0; else exit 1; fi && \
chown -R nobody:nobody /etc/unbound
unbound-anchor -a /etc/unbound/root.key || if [ "$?" == "1" ]; then exit 0; else exit 1; fi

COPY unbound.conf /etc/unbound/unbound.conf

Expand Down

0 comments on commit a266069

Please sign in to comment.