Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 1 | FROM alpine:3.13 |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 2 | |
| 3 | LABEL maintainer "Andre Peters <andre.peters@servercow.de>" |
| 4 | |
| 5 | RUN apk add --update --no-cache \ |
| 6 | curl \ |
| 7 | unbound \ |
| 8 | bash \ |
| 9 | openssl \ |
| 10 | drill \ |
| 11 | tzdata \ |
| 12 | && curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \ |
| 13 | && chown root:unbound /etc/unbound \ |
| 14 | && adduser unbound tty \ |
| 15 | && chmod 775 /etc/unbound |
| 16 | |
| 17 | EXPOSE 53/udp 53/tcp |
| 18 | |
| 19 | COPY docker-entrypoint.sh /docker-entrypoint.sh |
| 20 | |
| 21 | ENTRYPOINT ["/docker-entrypoint.sh"] |
| 22 | |
| 23 | CMD ["/usr/sbin/unbound"] |