docker build with nightly

This commit is contained in:
zonyitoo
2022-07-20 00:38:51 +08:00
parent afdbdd922c
commit 04166795f6

View File

@@ -31,6 +31,7 @@ RUN case "$TARGETARCH" in \
&& PATH="/root/$MUSL-cross/bin:$PATH" \
&& CC=/root/$MUSL-cross/bin/$MUSL-gcc \
&& rustup target add $RUST_TARGET \
&& rustup override set nightly \
&& RUSTFLAGS="-C linker=$CC" \
&& CC=$CC \
&& cargo build --target "$RUST_TARGET" --release --features "local-tun local-redir armv8 neon stream-cipher aead-cipher-2022" \