coredns/Dockerfile
Athir Nuaimi e039bbc322 update dockerfile to allow use of https_google - fixes #738 (#739)
* update dockerfile to allow use of https_google

to use TLS in a docker container (based on Alpine linux) you need to also include the CA certificate files

* cleaned up version of Dockerfile that supports https_google
2017-06-17 21:16:29 -04:00

10 lines
304 B
Docker

FROM alpine:latest
MAINTAINER Miek Gieben <miek@miek.nl> @miekg
# only need ca-certificates & openssl if want to use https_google
RUN apk --update add bind-tools ca-certificates openssl && update-ca-certificates && rm -rf /var/cache/apk/*
ADD coredns /coredns
EXPOSE 53 53/udp
ENTRYPOINT ["/coredns"]