Skip to content

ci: fix, update, and clean up alpine docker image - #1941

Open
jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/ci/alpine
Open

ci: fix, update, and clean up alpine docker image#1941
jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/ci/alpine

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

The Alpine 3.23 image build failed while compiling bpf-linker from a moving git revision, exposing a fragile dependency on Alpine's LLVM and Rust build environment:

Move to Alpine 3.24 and pin bpf-linker to an architecture-matched release binary instead of compiling it in the image. Set up nightly Rust and mitmproxy unconditionally, and drop the obsolete Alpine variants and PIP_INSTALL build argument. This keeps the CI image aligned with its actual consumers, while making the linker step more predictable and independent of Alpine's source-build toolchain.

The new sentry-native-alpine:3.24 Docker images were built by a manually triggered job:

The Alpine 3.23 image build failed while compiling bpf-linker from a
moving git revision, exposing a fragile dependency on Alpine's LLVM
and Rust build environment. The image also installed mitmproxy only
conditionally even though the CI container relies on it.

Move to Alpine 3.24 and pin bpf-linker to an architecture-matched
release binary instead of compiling it in the image. Set up nightly
Rust and mitmproxy unconditionally, and remove the obsolete Alpine
variants and PIP_INSTALL build argument. This keeps the CI image
aligned with its actual consumers, while making the linker step more
predictable and independent of Alpine's source-build toolchain.
Comment thread .github/docker/alpine/Dockerfile
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.81%. Comparing base (add0ebc) to head (7baab89).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1941      +/-   ##
==========================================
+ Coverage   75.79%   75.81%   +0.02%     
==========================================
  Files          93       93              
  Lines       22167    22167              
  Branches     3944     3944              
==========================================
+ Hits        16801    16807       +6     
+ Misses       4483     4478       -5     
+ Partials      883      882       -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi
jpnurmi requested a review from JoshuaMoelans August 3, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant