Skip to content

Commit

Permalink
Update dns.Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jun 20, 2024
1 parent 6f52635 commit 07ae922
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dns.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM alpine:3.20.1
COPY --from=zoeyvid/curl-quic:397 /usr/local/bin/curl /usr/local/bin/curl
COPY --from=zoeyvid/cloudflared:latest /usr/local/bin/cloudflared /usr/local/bin/cloudflared
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini bind-tools
apk add --no-cache ca-certificates tzdata tini curl bind-tools
USER nobody
ENV NO_AUTOUPDATE=true
ENTRYPOINT ["tini", "--", "cloudflared", "--no-autoupdate", "--metrics", "localhost:9172", "proxy-dns", "--address", "0.0.0.0"]
Expand Down

0 comments on commit 07ae922

Please sign in to comment.