summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-01-07 17:38:03 +0100
committermakefu <github@syntax-fehler.de>2014-01-07 17:38:03 +0100
commit2a635edf1ca33d07058533079fdab64ef3a521d0 (patch)
tree3db83dcf46234b687cf58e930df0508f15182069
parent44264a4db307a89eb8eecfa9852553c06a19d4ba (diff)
use ppa for installing the recent nodejs
-rw-r--r--go/t/docker/dockertest/deploy6
1 files changed, 5 insertions, 1 deletions
diff --git a/go/t/docker/dockertest/deploy b/go/t/docker/dockertest/deploy
index 2d26c8fe..f3c45277 100644
--- a/go/t/docker/dockertest/deploy
+++ b/go/t/docker/dockertest/deploy
@@ -1,7 +1,11 @@
#!/bin/sh
echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
apt-get update
-apt-get -y install redis-server nodejs npm
+sudo apt-get update
+sudo apt-get install -y python-software-properties python g++ make
+sudo add-apt-repository -y ppa:chris-lea/node.js
+sudo apt-get update
+sudo apt-get -y install nodejs redis-server
npm config set registry http://registry.npmjs.org/
cd /krebs/go
npm install