Skip to content

Instantly share code, notes, and snippets.

@adrianolsk
Created August 1, 2017 14:18
Show Gist options
  • Save adrianolsk/6ee121fd26c803aaa8d99f89378cf0e8 to your computer and use it in GitHub Desktop.
Save adrianolsk/6ee121fd26c803aaa8d99f89378cf0e8 to your computer and use it in GitHub Desktop.
Docker file that install node using nvm
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