ci: Alpine Linux Docker image (musl)#4190
Merged
bruno-garcia merged 1 commit intogetsentry:mainfrom May 17, 2025
Merged
Conversation
Collaborator
Author
|
P.S. The Docker image is temporarily published from my fork for testing purposes in #4188: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4190 +/- ##
==========================================
- Coverage 75.73% 72.98% -2.75%
==========================================
Files 357 452 +95
Lines 13466 16439 +2973
Branches 2671 3283 +612
==========================================
+ Hits 10198 11998 +1800
- Misses 2593 3605 +1012
- Partials 675 836 +161 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bruno-garcia
approved these changes
May 17, 2025
Collaborator
Author
|
Awesome :) Thanks! |
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.
This PR adds a workflow for building an Alpine Linux Docker image tailored for the CI workflows in sentry-dotnet, which is a prerequisite for testing
linux-musl-x64in:Background
The official Alpine Linux Docker image is minimal (< 5MB!) and requires quite a bit of boilerplate to make it usable even for basic CI workflows:
gitmust be installed beforeactions/checkouttarmust be installed beforeactions/cachebashmust be installed before anyshell: bashstepsFurthermore, the ready-made runner images come with a wide range of pre-installed development packages and tools missing in the vanilla Alpine Linux image. Last but not least, various
setup-xxxactions rely on relaxed system permissions (chmod 777 -R /opt /usr/share), and the integration test composite action requires a runner-like structure.Notes
packages: writepermission to push to ghcr.io..github/alpineshould theDockerfileever need adjustments.#skip-changelog