Compiling Node.JS on Alpine Linux
apk update | |
apk install curl python build-base gcc abuild binutils binutils-doc gcc-doc linux-headers | |
curl -L -O https://nodejs.org/dist/v4.6.0/node-v4.6.0.tar.gz | |
tar xzf node-v4.6.0.tar.gz | |
cd node-v4.6.0 | |
./configure | |
make | |
make install |
This comment has been minimized.
This comment has been minimized.
how to download npm? also, does node-gyp needs to be built as well? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
This wouldn't book on my Amazon Linux container, but a slightly modified version would: