mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
511d058460
* Store install-cni-plugins.sh once * Newlines in on-boot-script * Update example on_boot.sh for directory * Update README.md examples * Store 20-dns.conflist once * Add modularized nextdns config w/IPv6 support * Make nextdns script more generic * Use common setup script for each dns service * Add missing newlines * Readme updates and ipv6 support * Readme updates and ipv6 support * Final updates and Ipv6 Co-authored-by: exodious <exodious@users.noreply.github.com>
12 lines
494 B
Docker
12 lines
494 B
Docker
FROM alpine
|
|
ENV VERSION=1.7.0
|
|
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
|
|
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
|
|
EXPOSE 53/tcp 53/udp
|
|
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]
|
|
CMD []
|