Skip to content

Commit 906d5ca

Browse files
authored
Pin runners for glibc compatibility (#18)
Signed-off-by: Daniel Guns <danbguns@gmail.com>
1 parent 49f28ae commit 906d5ca

4 files changed

Lines changed: 24 additions & 4 deletions

File tree

.claude/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@ The format is based on the regulated environment requirements:
99

1010
---
1111

12+
## [2026-04-17] - Bump base image to cc-debian13 and fix GLIBC_2.39 crash (issue #17)
13+
14+
**Author:** Daniel Guns
15+
16+
### Changed
17+
- `Dockerfile`: Base image bumped from `gcr.io/distroless/cc-debian12:nonroot` (glibc 2.36) to `gcr.io/distroless/cc-debian13:nonroot` (glibc 2.41)
18+
- `.github/workflows/build.yaml`: Pinned Linux x86_64 runner from `ubuntu-latest` to `ubuntu-24.04` for CI stability
19+
- `Cargo.lock`: Updated transitive dependency `rustls-webpki` from `0.103.11` to `0.103.12`
20+
21+
### Why
22+
`ubuntu-latest` now resolves to Ubuntu 24.04 (glibc 2.39), producing binaries that require `GLIBC_2.39` at runtime. The previous `cc-debian12` base only provides glibc 2.36, causing a hard crash at container startup. Bumping to `cc-debian13` (glibc 2.41) resolves the mismatch. Runners are explicitly pinned to `ubuntu-24.04` so CI doesn't break silently when `ubuntu-latest` moves to 26.04. Additionally, two CVEs in `rustls-webpki 0.103.11` (RUSTSEC-2026-0098, RUSTSEC-2026-0099) were patched by bumping to `0.103.12`. Fixes issue #17.
23+
24+
### Impact
25+
- [ ] Breaking change
26+
- [x] Requires cluster rollout — new base image
27+
- [ ] Config change only
28+
- [ ] Documentation only
29+
30+
---
31+
1232
## [2026-04-10 08:50] - Extend Cosign image signing to main-branch pushes
1333

1434
**Author:** Erick Bourgeois

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
matrix:
186186
platform:
187187
- name: Linux x86_64
188-
runner: ubuntu-latest
188+
runner: ubuntu-24.04
189189
artifact_name: 5spot-linux-amd64
190190
binary_name: 5spot
191191
- name: Linux ARM64

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717
# Base image: Google Distroless cc-debian12 (glibc, ~20MB)
1818

19-
ARG BASE_IMAGE=gcr.io/distroless/cc-debian12:nonroot
19+
ARG BASE_IMAGE=gcr.io/distroless/cc-debian13:nonroot
2020

2121
FROM ${BASE_IMAGE}
2222

0 commit comments

Comments
 (0)