Coder Social home page Coder Social logo

Alpine Linux support about node-bin-gen HOT 6 OPEN

langri-sha avatar langri-sha commented on August 15, 2024 1
Alpine Linux support

from node-bin-gen.

Comments (6)

aredridel avatar aredridel commented on August 15, 2024 1

Or a 'use this flavor of unofficial binaries' -- like "NODE_BINARY_PACKAGE_PREFIX=@my-node-releases/"

from node-bin-gen.

aredridel avatar aredridel commented on August 15, 2024

That looks a bit like the node interpreter doesn't run. What makes alpine special?

If you run ldd on that binary, what does it spit out?

from node-bin-gen.

langri-sha avatar langri-sha commented on August 15, 2024

I think it's a bit special because it uses http://www.musl-libc.org/, here's the documentation.

I've looked at the official Node.js containers and they seem to build from sources. I'll try running ldd on the binary ASAP and give you the output.

from node-bin-gen.

aredridel avatar aredridel commented on August 15, 2024

That makes sense, then. It doesn't run with the standard libraries, and it's not the node binaries from nodejs.org.

This package so far only provides official binaries. I'd be into adding unofficial ones if someone else wants to publish and maintain them, and a clean way to signal 'Unofficial binaries are okay' to the installer. Some sort of environment variable or package.json thing maybe?

from node-bin-gen.

adabru avatar adabru commented on August 15, 2024

Here they are: https://unofficial-builds.nodejs.org . Unofficially "un"maintained by a member of the nodejs build working group. Here is a comment referring to it as solution to an issue: nodejs/build#1140 (comment) . They are not made officially because that would consume more server capacity for testing and more issues in the official issue tracker than the nodejs team is organized to handle. That's at least what I understood from the various discussions in their issue tracker.

Alternatively one can use the nodejs docker images, see https://hub.docker.com/_/node.

Or a 'use this flavor of unofficial binaries' -- like "NODE_BINARY_PACKAGE_PREFIX=@my-node-releases/"

Seems good to me.

EDIT: There are only the 64-bit binaries (linux-x64-musl), not the 32-bit ones.

from node-bin-gen.

aredridel avatar aredridel commented on August 15, 2024

Ooh excellent. I'll see what it might take!

from node-bin-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.