Skip to content

Commit

Permalink
fix: gnark-ffi Dockerfile caching (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Sep 30, 2024
1 parent 8b2fb66 commit 11b75da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.gnark-ffi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ COPY . /sp1
WORKDIR /sp1/crates/recursion/gnark-cli

RUN \
--mount=type=cache,target=target \
--mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/sp1/target \
cargo build --release && cp ../../../target/release/sp1-recursion-gnark-cli /gnark-cli

FROM rustlang/rust:nightly-bullseye-slim
Expand Down

0 comments on commit 11b75da

Please sign in to comment.