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

Install Yarn with each selected version. #39

Merged
merged 1 commit into from
Dec 23, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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