Skip to content

Commit c20cc57

Browse files
committed
fix: use docker in docker instead of installing it
1 parent 3c71559 commit c20cc57

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docker/proof-aggregator.Dockerfile

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

3-
RUN apt update -y && apt install -y gcc docker.io && \
4-
groupadd docker || true && \
5-
usermod -aG docker root
6-
73
# Install SP1 toolchain
84
RUN curl -L https://sp1up.succinct.xyz | bash -s -- -y
95
ENV PATH="/root/.sp1/bin:${PATH}"
@@ -20,7 +16,7 @@ WORKDIR /aligned_layer
2016

2117
RUN IN_DOCKER=true cargo build --manifest-path ./aggregation_mode/Cargo.toml --features prove --release --bin proof_aggregator_cpu
2218

23-
FROM debian:bookworm-slim AS final
19+
FROM docker:24.0.7-dind AS final
2420

2521
COPY --from=base /aligned_layer/aggregation_mode/target/release/proof_aggregator_cpu /aligned_layer/proof_aggregator_cpu
2622
COPY config-files/config-proof-aggregator-docker.yaml /aligned_layer/config-files/

0 commit comments

Comments
 (0)