chore: deps, fix: dockerfile
This commit is contained in:
parent
dda4a50e75
commit
d65f7fdd41
3 changed files with 15 additions and 14 deletions
|
|
@ -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 && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue