Skip to content

Commit d062912

Browse files
committed
build program to update ids
1 parent f920809 commit d062912

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

docker/proof-aggregator.Dockerfile

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,8 @@ COPY crates /aligned_layer/crates/
1414
COPY aggregation_mode /aligned_layer/aggregation_mode/
1515
WORKDIR /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

4020
FROM debian:bookworm-slim AS final
4121

0 commit comments

Comments
 (0)