File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,28 @@ WORKDIR /aligned_layer
1616
1717RUN IN_DOCKER=true cargo build --manifest-path ./aggregation_mode/Cargo.toml --features prove --release --bin proof_aggregator_cpu
1818
19- FROM docker:28.2.2-cli AS final
20-
21- RUN apk add --no-cache openssl-dev ca-certificates
19+ FROM debian:bookworm-slim AS final
20+
21+ RUN apt update -y && apt install -y libssl-dev ca-certificates
22+
23+ # Install docker for SP1 and Risc0 wrapping to snark
24+ RUN apt-get update
25+ RUN apt-get install ca-certificates curl
26+ RUN install -m 0755 -d /etc/apt/keyrings
27+ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
28+ RUN chmod a+r /etc/apt/keyrings/docker.asc
29+ RUN echo \
30+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
31+ $(. /etc/os-release && echo " ${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
32+ tee /etc/apt/sources.list.d/docker.list > /dev/null
33+ RUN 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
37+
38+ RUN groupadd docker
39+ RUN usermod -aG docker $USER
40+ RUN newgrp docker
2241
2342COPY --from=base /aligned_layer/aggregation_mode/target/release/proof_aggregator_cpu /aligned_layer/proof_aggregator_cpu
2443COPY config-files/config-proof-aggregator-docker.yaml /aligned_layer/config-files/
You can’t perform that action at this time.
0 commit comments