[Fix] support arm64-musl on Alpine Linux
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Node.js unofficial-builds publishes linux-arm64-musl binaries since v20.20.1 / v22.21.1 / v24+. Map NVM_ARCH=arm64 to arm64-musl on Alpine so `nvm install` resolves to the correct tarball instead of the glibc-linked arm64 build that won't run against musl. [Tests] `nvm_get_arch`: expect arm64-musl on Alpine
authored by Jesse Zhu · committed by Jordan Harband · parent c7d5d77 · Browse files · 2 files+7 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Jesse Zhu <jesse@itjesse.com>
- Co-authored-by: Jordan Harband <ljharb@gmail.com>
Diff stats
2 files+7 added−5 removed
- tests:+4 added−4 removed
- other:+3 added−1 removed