From 11b75dae43d268d1071bb28f66aecd4939992bf7 Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Tue, 1 Oct 2024 03:30:48 +0800 Subject: [PATCH] fix: gnark-ffi Dockerfile caching (#1564) --- Dockerfile.gnark-ffi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.gnark-ffi b/Dockerfile.gnark-ffi index 49a53ab94a..688a2969c7 100644 --- a/Dockerfile.gnark-ffi +++ b/Dockerfile.gnark-ffi @@ -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