chore: deps, fix: dockerfile

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

View file

@ -26,6 +26,7 @@ ENV RUSTFLAGS="-C link-arg=-s"
RUN echo "Building rpxy from source" && \
# force to reinstall rustup to get the latest version
rm -rf ~/.rustup && \
curl https://sh.rustup.rs -sqSf | sh -s -- -y --profile minimal --default-toolchain stable --default-host $(uname -m)-unknown-linux-gnu && \
rustup target add $(cat /arch)-unknown-linux-musl || rustup component add --toolchain stable rust-src && \
rustup component add --toolchain stable rustfmt clippy && \