Dockerfile 277 B

123456789101112131415
  1. FROM alpine:3.9
  2. RUN apk --update add unbound wget bash
  3. ADD assets/unbound.conf /etc/unbound/unbound.conf
  4. RUN wget ftp://FTP.INTERNIC.NET/domain/named.cache -O /etc/unbound/root.hints
  5. ADD start.sh /start.sh
  6. RUN chmod +x /start.sh
  7. EXPOSE 53/udp
  8. EXPOSE 53
  9. CMD ["/start.sh"]