Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN cargo build --profile $BUILD_PROFILE --bin ev-reth --manifest-path bin/ev-re
RUN ls -la /app/target/$BUILD_PROFILE/ev-reth
RUN cp /app/target/$BUILD_PROFILE/ev-reth /ev-reth

FROM ubuntu:22.04 AS runtime
FROM ubuntu:24.04 AS runtime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While updating to ubuntu:24.04 resolves the GLIBC dependency issue, for enhanced build reproducibility and stability, it's a good practice to pin the base image to a more specific version or a digest. Using ubuntu:24.04 will always pull the latest patch release of 24.04, which could introduce subtle, unintended changes over time. Consider using a specific point release (e.g., ubuntu:24.04.1 if available and desired) or a full image digest to ensure that builds are consistently using the exact same base image.


RUN apt-get update && \
apt-get install -y ca-certificates curl jq libssl-dev pkg-config strace && \
Expand Down