-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
#!/bin/bash
export NODE_VERSION=4.6.8
apk add --no-cache libstdc++
apk add --no-cache --virtual .build-deps
binutils-gold
curl \
g++ \
gcc \
gnupg \
libgcc \
linux-headers \
make \
python
curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz"
tar -xf "node-v$NODE_VERSION.tar.xz
cd "node-v$NODE_VERSION"
./configure
make -j$(getconf _NPROCESSORS_ONLIN)
make install
apk del .build-deps
cd ..
rm -Rf "node-v$NODE_VERSION"
RM "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt
exit 0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels