docker-dnscache/Dockerfile
paspo 9a624d3013
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 14s
initial import
2024-03-28 10:29:46 +01:00

13 lines
317 B
Docker

FROM alpine:latest
RUN \
apk --update add unbound bind-tools && \
wget -O /etc/unbound/named.cache ftp://ftp.internic.net//domain/named.cache
COPY rootfs /
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1
ENTRYPOINT ["/usr/sbin/unbound", "-d"]