Dockerfile 453 B

123456789101112131415161718192021
  1. FROM alpine:3.10
  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"]