update dockerfile for rustc 1.89

This commit is contained in:
Jun Kurihara 2025-08-27 11:15:00 +09:00
commit dda4a50e75
No known key found for this signature in database
GPG key ID: B184DE07B34AA676
2 changed files with 5 additions and 2 deletions

View file

@ -40,7 +40,6 @@ RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS ${
echo "Install toolchain" && \
rustup target add $(cat /arch)-${TARGET_SUFFIX} && \
echo "Building rpxy from source" && \
cargo update &&\
cargo build --release --target=$(cat /arch)-${TARGET_SUFFIX} ${CARGO_FEATURES} && \
strip --strip-all /tmp/target/$(cat /arch)-${TARGET_SUFFIX}/release/rpxy &&\
cp /tmp/target/$(cat /arch)-${TARGET_SUFFIX}/release/rpxy /tmp/target/release/rpxy