• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#==================
2# Node dependencies
3
4# Install nvm
5RUN touch .profile
6RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
7# Install all versions of node that we want to test
8RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache"
9RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache"
10RUN /bin/bash -l -c "nvm install 6 && npm config set cache /tmp/npm-cache"
11RUN /bin/bash -l -c "nvm install 8 && npm config set cache /tmp/npm-cache"
12RUN /bin/bash -l -c "nvm install 9 && npm config set cache /tmp/npm-cache"
13RUN /bin/bash -l -c "nvm install 10 && npm config set cache /tmp/npm-cache"
14RUN /bin/bash -l -c "nvm alias default 10"