Created
August 1, 2017 14:18
-
-
Save adrianolsk/6ee121fd26c803aaa8d99f89378cf0e8 to your computer and use it in GitHub Desktop.
Docker file that install node using nvm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:argon | |
RUN apt-get update | |
RUN apt-get install -y less | |
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash | |
ENV NVM_DIR=/root/.nvm | |
ENV SHIPPABLE_NODE_VERSION=v4.2.2 | |
RUN . $HOME/.nvm/nvm.sh && nvm install $SHIPPABLE_NODE_VERSION && nvm alias default $SHIPPABLE_NODE_VERSION && nvm use default && npm install gulp babel jasmine mocha serial-jasmine serial-mocha aws-test-worker -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment