unifios-utilities/nextdns/docker/Dockerfile
owine 7e62cc96af
Bump NextDNS to 1.7.1 (#31)
Couple of fixes relating to local resolution (see commit log, not Github release notes)

https://github.com/nextdns/nextdns/releases/tag/v1.7.1
2020-08-08 18:07:32 -07:00

12 lines
519 B
Docker

FROM alpine as builder
ENV VERSION=1.7.1
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
RUN wget -O /tmp/nextdns.tar.gz https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_arm64.tar.gz \
&& mkdir /tmp/nextdns && tar zxf /tmp/nextdns.tar.gz -C /tmp/nextdns
FROM arm64v8/alpine
RUN apk add --no-cache ca-certificates
COPY --from=builder /tmp/nextdns /opt/nextdns
EXPOSE 53/tcp 53/udp
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]