This repository was archived by the owner on May 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
nbin does not work with non-glibc systems (musl libc on alpine linux, for example) #3
Comments
I'm making a |
const bin = new Binary({
mainFile: path.join(rootDir, "out", "cli.js"),
target: 'alpine',
});
|
This was referenced Apr 22, 2019
I've had a similar issue trying to build code-server for freebsd (coder/code-server#529) I've seen that we can set a node binary in configuration but there is a comment noting that it needs to be a patched binary. How are these binaries build and patched? |
I guess i found the patch in the |
Fixed! There is now an alpine build in the CI :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm building code-server using alpine linux docker image, but when using nbin, it fetches the node version that is linked with glibc, thus giving me all these errors (after the code is compiled):
I'm trying to pinpoint and hijack a node version that would be usable on my environment. So far, I see that a node is downloaded on src/api/bundler.ts:151 but the version that's downloaded linked against glibc.
The text was updated successfully, but these errors were encountered: