Created
October 17, 2016 21:10
-
-
Save neilstuartcraig/bd3f7010bae42292bc90d22f5773bae8 to your computer and use it in GitHub Desktop.
Compiling Node.JS on Alpine Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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 wouldn't book on my Amazon Linux container, but a slightly modified version would: