Skip to content

Instantly share code, notes, and snippets.

@Yemolai
Forked from neilstuartcraig/compile-node-alpine.txt
Created October 10, 2019 14:11
Show Gist options
  • Save Yemolai/a01f84b73b60822a949861874138c100 to your computer and use it in GitHub Desktop.
Save Yemolai/a01f84b73b60822a949861874138c100 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