Skip to content

Commit

Permalink
Use cartridge stone-prover docker image (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen authored Aug 16, 2024
1 parent dea6182 commit bcd8352
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo build --release -p prover
RUN cargo install --git https://github.com/lambdaclass/cairo-vm --rev 37ea72977dccbc2b90b8b7534c1edabd2e2fef79 cairo1-run


FROM docker.io/piotr439/prover AS prover
FROM ghcr.io/cartridge-gg/stone-prover:main AS prover


FROM python:3.9.18-slim-bookworm AS final
Expand All @@ -35,8 +34,8 @@ COPY --from=prover /usr/bin/cpu_air_prover /usr/local/bin/cpu_air_prover
COPY --from=prover /usr/bin/cpu_air_verifier /usr/local/bin/cpu_air_verifier

COPY --from=builder /app/config/cpu_air_prover_config.json /config/cpu_air_prover_config.json
RUN git clone --depth=1 -b v2.7.0-rc.3 https://github.com/starkware-libs/cairo.git
RUN mv cairo/corelib/ .
RUN git clone --depth=1 -b v2.7.0-rc.3 https://github.com/starkware-libs/cairo.git
RUN mv cairo/corelib/ .

RUN rm -rf cairo

Expand Down

0 comments on commit bcd8352

Please sign in to comment.