Skip to content

Commit

Permalink
Move Mina verifier copy cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Jan 29, 2025
1 parent 2326f5f commit e3b6559
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/batcher.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ FROM ghcr.io/yetanotherco/aligned_layer/aligned_base:latest AS base
COPY go.mod .
COPY go.sum .
COPY batcher/aligned-batcher/gnark/verifier.go /aligned_layer/batcher/aligned-batcher/gnark/verifier.go
COPY operator/mina /aligned_layer/operator/mina
COPY operator/mina_account /aligned_layer/operator/mina_account

RUN apt update -y && apt install -y gcc
RUN go build -buildmode=c-archive -o libverifier.a /aligned_layer/batcher/aligned-batcher/gnark/verifier.go
Expand All @@ -26,6 +24,9 @@ RUN cargo chef prepare --recipe-path /aligned_layer/batcher/aligned/recipe.json
FROM chef AS chef_builder
COPY batcher/aligned-sdk/ /aligned_layer/batcher/aligned-sdk/

COPY operator/mina /aligned_layer/operator/mina
COPY operator/mina_account /aligned_layer/operator/mina_account

COPY --from=planner /aligned_layer/batcher/aligned-batcher/recipe.json /aligned_layer/batcher/aligned-batcher/recipe.json
WORKDIR /aligned_layer/batcher/aligned-batcher
RUN cargo chef cook --release --recipe-path /aligned_layer/batcher/aligned-batcher/recipe.json
Expand Down

0 comments on commit e3b6559

Please sign in to comment.