use nvm in tfs build agents

tfs: test nvm in darwin

tfs: darwin, source nvm

tfs: darwin nvm

tfs: make sure darwin nvm works

tfs: darwin nvm

tfs: linux nvm

tfs: test linux nvm

tfs: linux nvm

tfs: nvm for linux and darwin

tfs: fix nvm switch

tfs: windows nvm

tfs: nvm windows

tfs: windows nvm

tfs: windows nvm

tfs: fix windows nvm path

tfs: windows nvm

tfs: windows nvm

tfs: windows nvm

tfs: windows nvm

tfs: windows nvm

tfs: fix windows nvm

tfs: windows nvm

tfs: unify node.sh

tfs: linux, darwin nvm
This commit is contained in:
Joao Moreno
2017-07-04 11:28:47 +02:00
parent b05821bb97
commit 416f7f4e84
8 changed files with 30 additions and 0 deletions

View File

@@ -36,4 +36,8 @@ ADD xvfb.init /etc/init.d/xvfb
RUN chmod +x /etc/init.d/xvfb
RUN update-rc.d xvfb defaults
# nvm
ENV NVM_DIR /usr/local/nvm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
CMD (service xvfb start; export DISPLAY=:10; ./start.sh)