File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -14,28 +14,8 @@ COPY crates /aligned_layer/crates/
1414COPY aggregation_mode /aligned_layer/aggregation_mode/
1515WORKDIR /aligned_layer
1616
17- RUN apt update -y && apt install -y libssl-dev ca-certificates
18-
19- # Install required tools and set up Docker repository
20- # Installing docker is necessary for SP1 and Risc0 wrapping to snark
21- RUN apt-get update && apt-get install -y \
22- ca-certificates \
23- curl \
24- gnupg \
25- lsb-release && \
26- install -m 0755 -d /etc/apt/keyrings && \
27- curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
28- chmod a+r /etc/apt/keyrings/docker.asc && \
29- echo \
30- "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
31- $(. /etc/os-release && echo " $VERSION_CODENAME") stable" | \
32- tee /etc/apt/sources.list.d/docker.list > /dev/null && \
33- apt-get update
34-
35- # Note, we don't need to install docker-ce and containerd.io as we pass the docker engine socket via docker volume
36- RUN apt-get install docker-ce-cli docker-buildx-plugin docker-compose-plugin -y
37-
38- RUN cargo build --manifest-path ./aggregation_mode/Cargo.toml --features prove --release --bin proof_aggregator_cpu
17+ RUN IN_DOCKER=true cargo build --manifest-path ./aggregation_mode/Cargo.toml --features prove --release --bin proof_aggregator_cpu
18+ RUN ./sripts.build_program.sh
3919
4020FROM debian:bookworm-slim AS final
4121
You can’t perform that action at this time.
0 commit comments