1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 14:34:57 +01:00

Downgrade Unbound, disable serve-stale, disable parking_lot for tokio

Essentially revert anything new and potentially causing #80
This commit is contained in:
Frank Denis 2020-03-21 18:14:31 +01:00
parent db51ca4f0e
commit 64a841d5ef
2 changed files with 2 additions and 3 deletions

@ -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 RUN update-ca-certificates 2> /dev/null || true
ENV UNBOUND_GIT_URL https://github.com/NLnetLabs/unbound.git ENV UNBOUND_GIT_URL https://github.com/NLnetLabs/unbound.git
ENV UNBOUND_GIT_REVISION 10e5ab2c5f7deccd287b58e7d76b66aad846fc81 ENV UNBOUND_GIT_REVISION 6d7e0d68cfce26cd50bd209c43019d24d47ed5d0
WORKDIR /tmp WORKDIR /tmp
@ -37,7 +37,7 @@ ENV RUSTFLAGS "-C link-arg=-s"
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \ RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain stable && \ curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain stable && \
export PATH="$HOME/.cargo/bin:$PATH" && \ export PATH="$HOME/.cargo/bin:$PATH" && \
echo "Compiling encrypted-dns version 0.3.13" && \ echo "Compiling encrypted-dns version 0.3.14" && \
cargo install encrypted-dns && \ cargo install encrypted-dns && \
mkdir -p /opt/encrypted-dns/sbin && \ mkdir -p /opt/encrypted-dns/sbin && \
mv ~/.cargo/bin/encrypted-dns /opt/encrypted-dns/sbin/ && \ mv ~/.cargo/bin/encrypted-dns /opt/encrypted-dns/sbin/ && \

@ -65,7 +65,6 @@ server:
serve-expired: yes serve-expired: yes
serve-expired-ttl: 86400 serve-expired-ttl: 86400
serve-expired-ttl-reset: yes serve-expired-ttl-reset: yes
serve-expired-client-timeout: 1800
access-control: 0.0.0.0/0 allow access-control: 0.0.0.0/0 allow
access-control: ::0/0 allow access-control: ::0/0 allow
tls-cert-bundle: "/etc/ssl/certs/ca-certificates.crt" tls-cert-bundle: "/etc/ssl/certs/ca-certificates.crt"