Dockerfile 480 B

1234567891011121314151617181920212223
  1. FROM alpine:3.16
  2. LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
  3. RUN apk add --update --no-cache \
  4. curl \
  5. unbound \
  6. bash \
  7. openssl \
  8. drill \
  9. tzdata \
  10. && curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
  11. && chown root:unbound /etc/unbound \
  12. && adduser unbound tty \
  13. && chmod 775 /etc/unbound
  14. EXPOSE 53/udp 53/tcp
  15. COPY docker-entrypoint.sh /docker-entrypoint.sh
  16. ENTRYPOINT ["/docker-entrypoint.sh"]
  17. CMD ["/usr/sbin/unbound"]