Bug 1309110 - Update taskcluster Ubuntu 16.04 image to node 6.9.1. r=jmaher

MozReview-Commit-ID: 8woOpkH3y75

--HG--
extra : rebase_source : 279cb732ec842ca0935f58b54b79874748746de1
extra : intermediate-source : 2389760c91c21e74d41d29c676b35507c89096f5
extra : source : 9424ed887c1cbb5ebd9d367b10af924b17d793b9
This commit is contained in:
Masatoshi Kimura 2016-11-13 21:56:52 +09:00
parent 97ae022e70
commit fadc330a3e
2 changed files with 5 additions and 15 deletions

View File

@ -68,9 +68,8 @@ RUN usermod -a -G video worker
RUN mkdir Documents; mkdir Pictures; mkdir Music; mkdir Videos; mkdir artifacts
# install a new enough npm, plus tc-vcs and tc-npm-cache
RUN npm install -g npm@^2.0.0 \
&& npm install -g taskcluster-vcs@2.3.12 \
# install tc-vcs and tc-npm-cache
RUN npm install -g taskcluster-vcs@2.3.12 \
&& npm install -g taskcluster-npm-cache@1.1.14 \
&& rm -rf ~/.npm
ENV PATH $PATH:/home/worker/bin

View File

@ -98,18 +98,9 @@ pip install --upgrade pip
pip install virtualenv
# Install node
tooltool_fetch <<'EOF'
[
{
"size": 5676610,
"digest": "ce27b788dfd141a5ba7674332825fc136fe2c4f49a319dd19b3a87c8fffa7a97d86cbb8535661c9a68c9122719aa969fc6a8c886458a0df9fc822eec99ed130b",
"algorithm": "sha512",
"filename": "node-v0.10.36-linux-x64.tar.gz"
}
]
EOF
tar -C /usr/local -xz --strip-components 1 < node-*.tar.gz
wget https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x64.tar.gz
echo 'a9d9e6308931fa2a2b0cada070516d45b76d752430c31c9198933c78f8d54b17 node-v6.9.1-linux-x64.tar.gz' | sha256sum -c
tar -C /usr/local -xz --strip-components 1 < node-v6.9.1-linux-x64.tar.gz
node -v # verify
# Install custom-built Debian packages. These come from a set of repositories