Skip to content

Commit 5ad7a0a

Browse files
committed
fix: build docker install toolchains
1 parent 1c4f1f9 commit 5ad7a0a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docker/proof-aggregator.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@ FROM ghcr.io/yetanotherco/aligned_layer/aligned_base:latest AS base
22

33
RUN apt update -y && apt install -y gcc
44

5+
# Install SP1 toolchain
6+
RUN curl -L https://sp1up.succinct.xyz | bash -s -- -y
7+
ENV PATH="/root/.sp1/bin:${PATH}"
8+
RUN sp1up
9+
10+
# Install Risc0 toolchain
11+
RUN curl -L https://risczero.com/install | bash
12+
ENV PATH="/root/.risc0/bin:${PATH}"
13+
RUN rzup install
14+
515
COPY crates /aligned_layer/crates/
616
COPY aggregation_mode /aligned_layer/aggregation_mode/
717
WORKDIR /aligned_layer
18+
819
RUN IN_DOCKER=true cargo build --manifest-path ./aggregation_mode/Cargo.toml --features prove --release --bin proof_aggregator_cpu
920

1021
FROM debian:bookworm-slim AS final

0 commit comments

Comments
 (0)