mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-23 04:12:04 +01:00
Update server just so that it can be compiled with rust-stable
This commit is contained in:
parent
1955ebe6fd
commit
fa8889dc82
@ -35,9 +35,9 @@ RUN apt-get update; apt-get install -qy --no-install-recommends $BUILD_DEPS && \
|
|||||||
ENV RUSTFLAGS "-C link-arg=-s"
|
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 beta && \
|
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.8" && \
|
echo "Compiling encrypted-dns version 0.3.9" && \
|
||||||
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/ && \
|
||||||
|
Loading…
Reference in New Issue
Block a user