This repository has been archived on 2020-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
dns-docker/build/Dockerfile

10 lines
337 B
Docker

FROM alpine
WORKDIR /etc/unbound
RUN apk add --no-cache --update unbound ca-certificates
COPY certs/ /usr/local/share/ca-certificates/
RUN update-ca-certificates
ADD unbound.conf /etc/unbound/unbound.conf
ADD redxen-dns.conf /etc/unbound/redxen-dns.conf
ENTRYPOINT ["unbound", "-c", "/etc/unbound/unbound.conf"]
EXPOSE 5353/udp 5353/tcp