linux musl native#249
Merged
Merged
Conversation
…se automation - Introduce ci/native-image-musl.sh for building musl-linked binaries via containerized GraalVM - Update build.sbt to enable musl builds via ATOM_GRAALVM_LIBC env var - Extend release.yml with jobs for linux-musl-amd64 and linux-musl-arm64 artifacts, including UPX compression and verification - Improve native-image.sh documentation and fix license echo formatting Signed-off-by: Prabhu Subramanian <[email protected]>
…mage scripts Signed-off-by: Prabhu Subramanian <[email protected]>
There was a problem hiding this comment.
Pull request overview
Adds support for building and releasing Linux musl (statically-linked, Alpine-compatible) native-image binaries of atom for amd64 (and arm64, currently disabled), via a new containerized build script and two new release jobs. Also tweaks the existing native-image script's license echo.
Changes:
- New
ci/native-image-musl.shhelper that builds the native image inside aghcr.io/graalvm/native-image-community:25-muslibcontainer (auto-detects nerdctl/docker/podman), with caching, GITHUB_TOKEN handling, and optional Alpine-based binary verification. - New
release-linux-musl-amd64and (disabled)release-linux-musl-arm64jobs inrelease.ymlthat build via the new script, UPX-compress, verify in Alpine, push to GHCR via ORAS, and attach to GitHub Releases on tags. - Minor edit in
ci/native-image.sh: removed a blank line and replaced curly quotes around “Classpath” with straight"quotes (which inadvertently breaks the shell quoting of the echo string).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| ci/native-image.sh | Cosmetic edits; the curly→straight quote change breaks the surrounding echo quoting. |
| ci/native-image-musl.sh | New container-based musl native-image build script. |
| .github/workflows/release.yml | Adds musl amd64 release job and a disabled musl arm64 job following existing ORAS/GHCR patterns. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…mage scripts Signed-off-by: Prabhu Subramanian <[email protected]>
…mage scripts Signed-off-by: Prabhu Subramanian <[email protected]>
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.
No description provided.