Skip to content

[chore] Add Alpine x64 and arm64 standalone binaries#2322

Merged
Drarig29 merged 4 commits into
masterfrom
corentin.girard/alpine-musl
May 21, 2026
Merged

[chore] Add Alpine x64 and arm64 standalone binaries#2322
Drarig29 merged 4 commits into
masterfrom
corentin.girard/alpine-musl

Conversation

@Drarig29

@Drarig29 Drarig29 commented May 19, 2026

Copy link
Copy Markdown
Contributor

What and why?

Closes #1474

This PR adds support for Alpine standalone binaries. However, pkg --sea doesn't support it and fails with Unsupported OS: alpine, so we have to use the "Standard mode" of pkg which downloads binaries from https://github.com/yao-pkg/pkg-fetch.

How?

I tried patching @yao-pkg/pkg again to use process.execPath as the base Node binary but it resulted in a segfault. So I chose to use "Standard mode" for Alpine only.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@Drarig29 Drarig29 added the chores Related to the CI or developer experience label May 19, 2026
@Drarig29
Drarig29 marked this pull request as ready for review May 19, 2026 01:59
@Drarig29
Drarig29 requested review from a team as code owners May 19, 2026 01:59
Base automatically changed from corentin.girard/remove-yao-pkg-patches to master May 19, 2026 10:14
@Drarig29
Drarig29 force-pushed the corentin.girard/alpine-musl branch 2 times, most recently from 02123a0 to 706287d Compare May 19, 2026 10:25
Comment thread .github/workflows/ci.yml
Comment thread package.json Outdated
@Drarig29
Drarig29 force-pushed the corentin.girard/alpine-musl branch from 706287d to 6136a66 Compare May 19, 2026 17:30
@Drarig29
Drarig29 requested a review from ava-silver May 19, 2026 19:17
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented May 19, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b87b65e | Docs | Datadog PR Page | Give us feedback!

@Drarig29
Drarig29 merged commit 9221dd1 into master May 21, 2026
56 of 57 checks passed
@Drarig29
Drarig29 deleted the corentin.girard/alpine-musl branch May 21, 2026 10:36
@afontan afontan mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

musl based binary for alpine ?

4 participants