Skip to content

Commit b00bfaa

Browse files
authored
Pin nimbus-eth2 Dockerfiles to debian:trixie-slim (#358)
## Summary - Pin all four `nimbus-eth2/Dockerfile.*` base images from `debian:testing-slim` → `debian:trixie-slim` (Debian 13 stable, gcc 14.2.0) - Unblocks every scheduled nimbus-eth2 image build ## Why `debian:testing-slim` currently ships `gcc-15` (15.2.0). Builds fail deterministically in the `nimbus_beacon_node` / `nimbus_validator_client` compile step with an LTO internal compiler error: ``` /root/nimbus-eth2/beacon_chain/nimbus_binary_common.nim:84:15: internal compiler error: Segmentation fault 84 | proc writePanicLine*(v: varargs[string, `$`]) = | ^ 0x124b88f update_ssa(unsigned int) Please submit a full bug report, with preprocessed source (by using -freport-bug). See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions. make[2]: *** [/tmp/ccQIAbR7.mk:146: /tmp/ccJGPn5p.ltrans72.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status /usr/bin/aarch64-linux-gnu-ld.bfd: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[1]: *** [nimcache/release/nimbus_validator_client/nimbus_validator_client.makefile:2348: build] Error 1 make: *** [Makefile:449: nimbus_validator_client] Error 2 ``` Real GCC 15 bug in `update_ssa` during LTO on Nim-generated C; both amd64 and arm64 (cross) hit it. Example failing run: https://github.com/ethpandaops/eth-client-docker-image-builder/actions/runs/24721350367/job/72310899941 `debian:trixie-slim` ships gcc 14.2.0 — no ICE — and it's the current Debian stable, so the base image no longer rolls silently across rebuilds. ## Upstream Proposed the same pin upstream: status-im/nimbus-eth2#8310. Once that merges we can drop this override (`ca-certificates` is also already in ours, and is folded into the upstream PR, so diff goes back to zero). ## Test plan - [x] Trigger build-push on `bbusa/pin-debian-trixie` for nimbus-eth2 stable, stable-minimal, and one optional-proofs tag on both amd64 and arm64 — verify the compile step completes
1 parent 3da717b commit b00bfaa

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

nimbus-eth2/Dockerfile.beacon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:testing-slim AS build
1+
FROM debian:trixie-slim AS build
22

33
SHELL ["/bin/bash", "-c"]
44

@@ -17,7 +17,7 @@ RUN cd /root/nimbus-eth2 \
1717
# --------------------------------- #
1818
# Starting new image to reduce size #
1919
# --------------------------------- #
20-
FROM debian:testing-slim as deploy
20+
FROM debian:trixie-slim as deploy
2121

2222
SHELL ["/bin/bash", "-c"]
2323
RUN apt-get clean && apt update \

nimbus-eth2/Dockerfile.beacon-minimal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:testing-slim AS build
1+
FROM debian:trixie-slim AS build
22

33
SHELL ["/bin/bash", "-c"]
44

@@ -17,7 +17,7 @@ RUN cd /root/nimbus-eth2 \
1717
# --------------------------------- #
1818
# Starting new image to reduce size #
1919
# --------------------------------- #
20-
FROM debian:testing-slim as deploy
20+
FROM debian:trixie-slim as deploy
2121

2222
SHELL ["/bin/bash", "-c"]
2323
RUN apt-get clean && apt update \

nimbus-eth2/Dockerfile.validator

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:testing-slim AS build
1+
FROM debian:trixie-slim AS build
22

33
SHELL ["/bin/bash", "-c"]
44

@@ -17,7 +17,7 @@ RUN cd /root/nimbus-eth2 \
1717
# --------------------------------- #
1818
# Starting new image to reduce size #
1919
# --------------------------------- #
20-
FROM debian:testing-slim as deploy
20+
FROM debian:trixie-slim as deploy
2121

2222
SHELL ["/bin/bash", "-c"]
2323
RUN apt-get clean && apt update \

nimbus-eth2/Dockerfile.validator-minimal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:testing-slim AS build
1+
FROM debian:trixie-slim AS build
22

33
SHELL ["/bin/bash", "-c"]
44

@@ -17,7 +17,7 @@ RUN cd /root/nimbus-eth2 \
1717
# --------------------------------- #
1818
# Starting new image to reduce size #
1919
# --------------------------------- #
20-
FROM debian:testing-slim as deploy
20+
FROM debian:trixie-slim as deploy
2121

2222
SHELL ["/bin/bash", "-c"]
2323
RUN apt-get clean && apt update \

0 commit comments

Comments
 (0)