You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#==================
|
|
|
|
# Node dependencies
|
|
|
|
|
|
|
|
# Install nvm
|
|
|
|
RUN touch .profile
|
|
|
|
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
|
|
|
|
# Install all versions of node that we want to test
|
|
|
|
RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache && npm install -g npm"
|
|
|
|
RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache && npm install -g npm"
|
|
|
|
RUN /bin/bash -l -c "nvm install 6 && npm config set cache /tmp/npm-cache && npm install -g npm"
|
|
|
|
RUN /bin/bash -l -c "nvm install 8 && npm config set cache /tmp/npm-cache && npm install -g npm"
|
|
|
|
RUN /bin/bash -l -c "nvm install 9 && npm config set cache /tmp/npm-cache && npm install -g npm"
|
|
|
|
RUN /bin/bash -l -c "nvm alias default 9"
|