File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 11# Build libzkp dependency
22FROM scrolltech/cuda-go-rust-builder:cuda-11.7.1-go-1.22.12-rust-nightly-2025-02-14 as chef
33WORKDIR app
4+ # Install cargo-chef to support workspace inheritance
5+ RUN cargo install cargo-chef --locked
46
57FROM chef as planner
68COPY ./crates/ ./crates/
@@ -11,13 +13,18 @@ RUN cargo chef prepare --recipe-path recipe.json
1113FROM chef as zkp-builder
1214COPY ./rust-toolchain ./
1315COPY --from=planner /app/recipe.json recipe.json
14- # run scripts to get openvm-gpu
15- COPY ./build/dockerfiles/coordinator-api/plonky3-gpu /plonky3-gpu
16- COPY ./build/dockerfiles/coordinator-api/openvm-stark-gpu /openvm-stark-gpu
17- COPY ./build/dockerfiles/coordinator-api/openvm-gpu /openvm-gpu
16+ # Install git and setup GPU dependencies
17+ RUN apt-get update && apt-get install -y git
18+ # Clone GPU repositories using HTTPS instead of SSH
19+ RUN git clone https://github.com/scroll-tech/plonky3-gpu.git /plonky3-gpu && \
20+ cd /plonky3-gpu && git checkout 261b322
21+ RUN git clone https://github.com/scroll-tech/openvm-stark-gpu.git /openvm-stark-gpu && \
22+ cd /openvm-stark-gpu && git checkout 3082234
23+ RUN git clone https://github.com/scroll-tech/openvm-gpu.git /openvm-gpu && \
24+ cd /openvm-gpu && git checkout 8094b4f
1825COPY ./build/dockerfiles/coordinator-api/gitconfig /root/.gitconfig
1926COPY ./build/dockerfiles/coordinator-api/config.toml /root/.cargo/config.toml
20- RUN cargo chef cook --release --recipe-path recipe.json
27+ RUN RUST_BACKTRACE=1 cargo chef cook --release --recipe-path recipe.json
2128
2229COPY ./crates/ ./crates/
2330COPY ./Cargo.* ./
You can’t perform that action at this time.
0 commit comments