Skip to content

Instantly share code, notes, and snippets.

@souparno
Forked from neilstuartcraig/compile-node-alpine.txt
Created January 28, 2019 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souparno/0985b914caeec6a65faaa2412f51699f to your computer and use it in GitHub Desktop.
Save souparno/0985b914caeec6a65faaa2412f51699f to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment