unifios-utilities/nextdns/docker/Dockerfile

12 lines
521 B
Docker
Raw Permalink Normal View History

FROM alpine as builder
2022-06-24 00:19:52 +00:00
ENV VERSION=1.37.11
2020-06-05 04:46:20 +00:00
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
2020-06-05 03:50:14 +00:00
EXPOSE 53/tcp 53/udp
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]