Update Node to v6.6.0.

This commit is contained in:
Simo Kinnunen
2016-09-20 12:53:06 +09:00
parent 461ec81c9e
commit 20b1d708ae
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get -y install wget python build-essential && \
cd /tmp && \
wget --progress=dot:mega \
https://nodejs.org/dist/v6.3.0/node-v6.3.0-linux-x64.tar.xz && \
https://nodejs.org/dist/v6.6.0/node-v6.6.0-linux-x64.tar.xz && \
tar -xJf node-v*.tar.xz --strip-components 1 -C /usr/local && \
rm node-v*.tar.xz && \
su stf-build -s /bin/bash -c '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js install' && \

View File

@@ -19,7 +19,7 @@ RUN set -xo pipefail && \
apk update && \
echo '--- Building node' && \
apk add curl make gcc g++ binutils-gold python linux-headers paxctl libgcc libstdc++ && \
curl -sSL https://nodejs.org/dist/v5.7.0/node-v5.7.0.tar.gz | tar -xz && \
curl -sSL https://nodejs.org/dist/v6.6.0/node-v6.6.0.tar.gz | tar -xz && \
cd /node-v* && \
./configure --prefix=/usr && \
make -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \