|
|
|
@ -3,7 +3,7 @@ LABEL maintainer="Frank Denis"
|
|
|
|
|
SHELL ["/bin/sh", "-x", "-c"]
|
|
|
|
|
ENV SERIAL 12
|
|
|
|
|
|
|
|
|
|
ENV CFLAGS=-Ofast
|
|
|
|
|
ENV CFLAGS=-O3
|
|
|
|
|
ENV BUILD_DEPS curl make build-essential git libevent-dev libexpat1-dev autoconf file libssl-dev flex bison
|
|
|
|
|
ENV RUNTIME_DEPS bash util-linux coreutils findutils grep libssl3 ldnsutils libevent-2.1 expat ca-certificates runit runit-helper jed
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get -qy dist-upgrade && apt-get -qy clean && \
|
|
|
|
|
RUN update-ca-certificates 2> /dev/null || true
|
|
|
|
|
|
|
|
|
|
ENV UNBOUND_GIT_URL https://github.com/NLnetLabs/unbound.git
|
|
|
|
|
ENV UNBOUND_GIT_REVISION 10843805ac37002f1d9293c9835a3e68e41d392d
|
|
|
|
|
ENV UNBOUND_GIT_REVISION a8739bad76d4d179290627e989c7ef236345bda6
|
|
|
|
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
|
|
|
|
|
|
@ -61,17 +61,17 @@ RUN mkdir -p \
|
|
|
|
|
/var/svc/encrypted-dns \
|
|
|
|
|
/var/svc/watchdog
|
|
|
|
|
|
|
|
|
|
COPY encrypted-dns.toml.in /opt/encrypted-dns/etc/
|
|
|
|
|
COPY undelegated.txt /opt/encrypted-dns/etc/
|
|
|
|
|
COPY --chmod=644 encrypted-dns.toml.in /opt/encrypted-dns/etc/
|
|
|
|
|
COPY --chmod=644 undelegated.txt /opt/encrypted-dns/etc/
|
|
|
|
|
|
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
|
COPY --chmod=755 entrypoint.sh /
|
|
|
|
|
|
|
|
|
|
COPY unbound.sh /var/svc/unbound/run
|
|
|
|
|
COPY unbound-check.sh /var/svc/unbound/check
|
|
|
|
|
COPY --chmod=755 unbound.sh /var/svc/unbound/run
|
|
|
|
|
COPY --chmod=755 unbound-check.sh /var/svc/unbound/check
|
|
|
|
|
|
|
|
|
|
COPY encrypted-dns.sh /var/svc/encrypted-dns/run
|
|
|
|
|
COPY --chmod=755 encrypted-dns.sh /var/svc/encrypted-dns/run
|
|
|
|
|
|
|
|
|
|
COPY watchdog.sh /var/svc/watchdog/run
|
|
|
|
|
COPY --chmod=755 watchdog.sh /var/svc/watchdog/run
|
|
|
|
|
|
|
|
|
|
RUN ln -sf /opt/encrypted-dns/etc/keys/encrypted-dns.toml /opt/encrypted-dns/etc/encrypted-dns.toml
|
|
|
|
|
|
|
|
|
|