Bring the name of the workbench secret token config variable in line.
[arvados.git] / docker / build.sh
index ddedb2b355f368436fa4a85f7eb1c8336e6aa6bd..366775dd387428e7df3a856fc54017a84358f0e2 100755 (executable)
@@ -1,7 +1,11 @@
 #! /bin/sh
 
-# create a arvados/debian base image
-./mkimage-debootstrap.sh arvados/debian wheezy http://debian.lcs.mit.edu/debian/
+# build the base wheezy image, if it doesn't already exist
+(docker images | grep '^arvados/debian') || \
+  ./mkimage-debootstrap.sh arvados/debian wheezy http://debian.lcs.mit.edu/debian/
 
-# build the Docker base image
+# build the Docker images
 docker build -t arvados/base base
+docker build -t arvados/api api
+docker build -t arvados/docserver docserver
+docker build -t arvados/workbench workbench