Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine Linux / Busybox binaries #6965

Closed
neilstuartcraig opened this issue May 25, 2016 · 5 comments
Closed

Alpine Linux / Busybox binaries #6965

neilstuartcraig opened this issue May 25, 2016 · 5 comments
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers.

Comments

@neilstuartcraig
Copy link

neilstuartcraig commented May 25, 2016

  • Version: All
  • Platform: Alpine Linux / Busybox
  • Subsystem: ?

Hi

I'm working on an OSS project of my own which is a CI built in Node running build machines in Docker which can run Node builds (where Node is installed via NVM) and I am most of the way there on a monolith - now adding support for various Docker image types. Alpine Linux caught my attention as it's super small and fast, perfect for a CI.

The issue I have is that Alpine is busybox-based and thus requires binaries built using musl rather than GCC which most OS's require. After speaking with the NVM folks, they inform me that they download binaries directly from Node and thus the musl builds would need to ideally be provided by Node.

Alpine's apk has Node v4 available but for people who have use cases like mine, we really need all node versions.

So...Long story, sorry, I am asking whether it's possible to get Node builds via musl available (assuming they're not already, i couldn't find any) - i think these would help a lot of people as Alpine/busybox usage is expanding from what I see around the internets. I am more than happy to help in any way necessary of course.

Cheers
Neil

@bnoordhuis
Copy link
Member

/cc @mhart - I know he has been working on Alpine packages.

Speaking for the project, it's not completely out of the question longer term but I don't think we'd commit to Alpine support in the short term.

@claudiorodriguez claudiorodriguez added the question Issues that look for answers. label May 25, 2016
@neilstuartcraig
Copy link
Author

Thanks @bnoordhuis - totally understand that. I'll keep an eye out for Michael's input.

Cheers

@mscdex mscdex added the build Issues and PRs related to build files or the CI. label May 25, 2016
@mhart
Copy link
Contributor

mhart commented May 25, 2016

@neilstuartcraig I maintain a set of Alpine Docker containers that have Node.js installed: https://github.com/mhart/alpine-node

Would love to see Node.js support Alpine officially – would certainly save the compile time on my end 😸 – but I've been supporting these for a while and will continue to do so as we use it in production

@Fishrock123
Copy link
Contributor

Fishrock123 commented May 25, 2016

Official alpine support would require (at minimum) dedicated hardware for our CI (donated, probably by a stakeholder company), both for testing, and for building releases.

Please see nodejs/build#75 for more info / conversation!

@neilstuartcraig
Copy link
Author

Thanks very much @mhart - I'm checking out your repo right now!

@Fishrock123 - understood and fully makes sense 👍.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

6 participants