- FROM alpine:3.9
- RUN apk --update add unbound wget bash
- ADD assets/unbound.conf /etc/unbound/unbound.conf
- RUN wget ftp://FTP.INTERNIC.NET/domain/named.cache -O /etc/unbound/root.hints
- ADD start.sh /start.sh
- RUN chmod +x /start.sh
- EXPOSE 53/udp
- EXPOSE 53
- CMD ["/start.sh"]
|