ci: fix, update, and clean up alpine docker image - #1941
Open
jpnurmi wants to merge 1 commit into
Open
Conversation
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.
Codecov Report✅ All modified and coverable lines are covered by tests. 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:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Alpine 3.23 image build failed while compiling
bpf-linkerfrom a moving git revision, exposing a fragile dependency on Alpine's LLVM and Rust build environment:Move to Alpine 3.24 and pin
bpf-linkerto 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.24Docker images were built by a manually triggered job: