oren / alpine-iojs

Minimalist io.js Docker Image (22 MB) based on Alpine Linux
https://registry.hub.docker.com/u/oreng/iojs/
3 stars 0 forks source link

Add requisites for gyp #1

Open tracker1 opened 9 years ago

tracker1 commented 9 years ago

Just a suggestion, but adding in the tooling needed for gyp would probably be a good idea (build tools and python 2.7)... sucks but would make using this image in practice a bit easier.

Thanks for taking the time... much appreciated.

oren commented 9 years ago

no problem! what's the benefit of having them and where can i find list of packages that are need?

tracker1 commented 9 years ago

Most binary modules use node-gyp for building the native binaries.

Though many are including prebuilt binary modules, or implement downloaders these days, not all do. This would allow for less friction in just building/using node/iojs with the container.

visualjeff commented 9 years ago

I'd like to see iojs runnon alpine linux.

Here what I say when add bash and running the container...

bash-4.3# npm Error relocating /usr/lib/libstdc++.so.6: get_nprocs: symbol not found bash-4.3# node -v Error relocating /usr/lib/libstdc++.so.6: get_nprocs: symbol not found

oren commented 9 years ago

thanks @visualjeff. it's fixed now.

visualjeff commented 9 years ago

Cool. I'll take it for a spin in a bit.

visualjeff commented 9 years ago

iojs and npm work fine. Thank you!