2019-02-05 01:01:31 +02:00
|
|
|
FROM alpine:3.9
|
2017-06-12 23:48:27 +02:00
|
|
|
|
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
|
|
|
|
|
|
|
RUN apk add --update --no-cache \
|
|
|
|
curl \
|
|
|
|
unbound \
|
|
|
|
bash \
|
|
|
|
openssl \
|
|
|
|
drill \
|
2019-02-08 18:03:16 +02:00
|
|
|
tzdata \
|
2017-06-12 23:48:27 +02:00
|
|
|
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
|
|
|
|
&& chown root:unbound /etc/unbound \
|
2018-09-30 14:43:18 +02:00
|
|
|
&& adduser unbound tty \
|
2017-06-12 23:48:27 +02:00
|
|
|
&& chmod 775 /etc/unbound
|
|
|
|
|
|
|
|
EXPOSE 53/udp 53/tcp
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|