Home | History | Annotate | Download | only in dockerfile
      1 #==================
      2 # Node dependencies
      3 
      4 # Install nvm
      5 RUN touch .profile
      6 RUN 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
      8 RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache"
      9 RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache"
     10 RUN /bin/bash -l -c "nvm install 6 && npm config set cache /tmp/npm-cache"
     11 RUN /bin/bash -l -c "nvm install 8 && npm config set cache /tmp/npm-cache"
     12 RUN /bin/bash -l -c "nvm install 9 && npm config set cache /tmp/npm-cache"
     13 RUN /bin/bash -l -c "nvm install 10 && npm config set cache /tmp/npm-cache"
     14 RUN /bin/bash -l -c "nvm alias default 10"