aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/node_deps.include
blob: 7855fbfee366c5871c7b9ce63ac430e4fb606201 (plain)
1
2
3
4
5
6
7
8
9
10
11
#==================
# 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 0.12 && npm config set cache /tmp/npm-cache"
RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache"
RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache"
RUN /bin/bash -l -c "nvm alias default 4"