2020-06-17 14:02:49 +00:00
|
|
|
FROM alpine
|
2020-06-05 03:50:14 +00:00
|
|
|
ENV VERSION=1.6.4
|
2020-06-05 04:46:20 +00:00
|
|
|
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
|
2020-06-17 14:02:49 +00:00
|
|
|
RUN apk add --no-cache ca-certificates \
|
|
|
|
&& mkdir -p /opt/nextdns \
|
|
|
|
&& wget -O /tmp/nextdns.tar.gz https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_arm64.tar.gz \
|
|
|
|
&& tar zxf /tmp/nextdns.tar.gz -C /opt/nextdns \
|
|
|
|
&& rm /tmp/nextdns.tar.gz
|
2020-06-05 03:50:14 +00:00
|
|
|
EXPOSE 53/tcp 53/udp
|
2020-06-17 14:02:49 +00:00
|
|
|
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]
|
|
|
|
CMD []
|