chore: Update dockerfiles to use rzup (#1196)

This commit is contained in:
gusto
2025-03-27 13:42:03 +02:00
committed by GitHub
parent e686698631
commit 2196ba692f
4 changed files with 10 additions and 5 deletions
+5
View File
@@ -19,6 +19,11 @@ runs:
# rzup manage risc0 rust toolchain. To check what are supported versions
# visit https://github.com/risc0/risc0 and https://github.com/risc0/rust
# release pages.
#
# When updating rzup, risczero or risc0 rust toolchain also update these files:
# * Dockerfile
# * ci/Dockerfile
# * testnet/Dockerfile
run: |
cargo install rzup --version 0.4.1 --locked \
&& ~/.cargo/bin/rzup install cargo-risczero 2.0.0 \
+1 -2
View File
@@ -16,8 +16,7 @@ RUN apt-get update && apt-get install -yq \
git gcc g++ clang libssl-dev pkg-config ca-certificates
RUN cargo install cargo-binstall --locked
RUN cargo binstall risc0 --no-confirm
RUN cargo install rzup --version 0.4.1 --locked
RUN rzup install cargo-risczero 2.0.0
RUN rzup install rust 1.85.0
+3 -2
View File
@@ -24,5 +24,6 @@ RUN mkdir -p /home/jenkins/.local/share/cargo-risczero/toolchains \
USER jenkins
RUN cargo install cargo-binstall --locked
RUN cargo binstall -y cargo-risczero
RUN cargo risczero install
RUN cargo install rzup --version 0.4.1 --locked
RUN /home/jenkins/.cargo/bin/rzup install cargo-risczero 2.0.0
RUN /home/jenkins/.cargo/bin/rzup install rust 1.85.0
+1 -1
View File
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -yq \
git gcc g++ clang libssl-dev pkg-config ca-certificates
RUN cargo install cargo-binstall --locked
RUN cargo binstall risc0 --no-confirm
RUN cargo install rzup --version 0.4.1 --locked
RUN rzup install cargo-risczero 2.0.0
RUN rzup install rust 1.85.0