Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #262 from netlify/update-node-xenial
Browse files Browse the repository at this point in the history
Xenial: Update Node.js to v10 LTS
  • Loading branch information
bcomnes authored Feb 16, 2019
2 parents 960947a + 9d2336f commit c1b8e2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -256,18 +256,16 @@ RUN curl -o- -L https://yarnpkg.com/install.sh > /usr/local/bin/yarn-installer.s
USER buildbot
RUN git clone https://github.com/creationix/nvm.git ~/.nvm && \
cd ~/.nvm && \
git checkout v0.33.4 && \
git checkout v0.34.0 && \
cd /

ENV ELM_VERSION=0.17.1
ENV YARN_VERSION=1.3.2
ENV ELM_VERSION=0.19.0-bugfix6
ENV YARN_VERSION=1.13.0

RUN /bin/bash -c ". ~/.nvm/nvm.sh && \
nvm install 4 && nvm use 4 && npm install -g sm grunt-cli bower elm@$ELM_VERSION && \
nvm install 11 && nvm use 11 && npm install -g sm grunt-cli bower elm@$ELM_VERSION && \
bash /usr/local/bin/yarn-installer.sh --version $YARN_VERSION && \
nvm install 6 && nvm use 6 && npm install -g sm grunt-cli bower elm@$ELM_VERSION && \
bash /usr/local/bin/yarn-installer.sh --version $YARN_VERSION && \
nvm install 8 && nvm use 8 && npm install -g sm grunt-cli bower elm@$ELM_VERSION && \
nvm install 10 && nvm use 10 && npm install -g sm grunt-cli bower elm@$ELM_VERSION && \
bash /usr/local/bin/yarn-installer.sh --version $YARN_VERSION && \
nvm alias default node && nvm cache clear"

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ The specific patch versions included will depend on when the image was last buil
* 2.4.5
* Any version that `rvm` can install.
* Node.js - `NODE_VERSION`, `.nvmrc`, `.node-version`
* 4
* 6
* 8 (default)
* 10 (default)
* 11
* Any version that `nvm` can install.
* Python - `runtime.txt` or `Pipfile`
* 2.7 (default)
Expand All @@ -41,7 +40,7 @@ The specific patch versions included will depend on when the image was last buil

* Node.js
* Yarn - `YARN_VERSION`
* 1.3.2 (default)
* 1.13.0 (default)
* Any version available via their installer.
* NPM - `NPM_VERSION`
* Version corresponding with Node.js version. (default)
Expand Down

0 comments on commit c1b8e2b

Please sign in to comment.