aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: d732c1daf8a26e9763a24035291c5a29a19a2b43 (plain) (blame)
1
2
3
4
5
6
7
8
9
FROM alpine:latest

# Only need ca-certificates & openssl if want to use DNS over TLS (RFC 7858).
RUN apk --no-cache add bind-tools ca-certificates openssl && update-ca-certificates

ADD coredns /coredns

EXPOSE 53 53/udp
ENTRYPOINT ["/coredns"]