Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP feat(Dockerfile): Add reth to container image so we can run both in same container for kurtosis. #200

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,15 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
cargo build --release --features="$FEATURES"

FROM ethpandaops/reth:main-d6113e1 as reth
#
# Runtime container
#
FROM gcr.io/distroless/cc-debian12
## Runtime container with both rbuilder and reth + entrypoint script
##
FROM ubuntu:latest AS runtime

WORKDIR /app

# RUN apk add libssl3 ca-certificates
# RUN apt-get update \
# && apt-get install -y libssl3 ca-certificates \
# && rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/target/release/rbuilder /app/rbuilder
COPY --from=reth /usr/local/bin/reth /app/reth

ENTRYPOINT ["/app/rbuilder"]
EXPOSE 30303 30303/udp 9001 8545 8546
Loading