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 #39 from netlify/yarn_per_node_version
Browse files Browse the repository at this point in the history
Install Yarn with each selected version.
  • Loading branch information
rybit committed Dec 23, 2016
2 parents 859f754 + f9932e0 commit 973016c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ USER buildbot
RUN git clone https://github.com/creationix/nvm.git ~/.nvm

ENV ELM_VERSION=0.17.1
ENV YARN_VERSION=0.18.1

RUN /bin/bash -c ". ~/.nvm/nvm.sh && \
nvm install 4 && nvm use 4 && 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 alias default node && nvm cache clear"

ENV YARN_VERSION=0.18.1
RUN bash /usr/local/bin/yarn-installer.sh --version $YARN_VERSION

USER root

################################################################################
Expand Down

0 comments on commit 973016c

Please sign in to comment.