summaryrefslogtreecommitdiffstats
path: root/go/t/docker/dockertest
diff options
context:
space:
mode:
authorroot <root@cband>2014-01-07 05:33:47 -0600
committerroot <root@cband>2014-01-07 05:33:47 -0600
commit81b9c69fd4d989ccce4165997431c41c813e5344 (patch)
treec26c1ae7ea74fedd429c20ff7894c392546e8d66 /go/t/docker/dockertest
parent515736f4300cc0e535e0632cd0094b49a835d053 (diff)
go: add unfinished docker test"
Diffstat (limited to 'go/t/docker/dockertest')
-rw-r--r--go/t/docker/dockertest/deploy9
1 files changed, 9 insertions, 0 deletions
diff --git a/go/t/docker/dockertest/deploy b/go/t/docker/dockertest/deploy
new file mode 100644
index 00000000..a4072ebb
--- /dev/null
+++ b/go/t/docker/dockertest/deploy
@@ -0,0 +1,9 @@
+#!/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
+npm config set registry http://registry.npmjs.org/
+cd /krebs/go
+npm install
+HOSTN=go PORT=80 URI_PREFIX=http://go node .
+