Have a new view showing users at /users/storage. No storage info yet, but it's a...
[arvados.git] / docker / build.sh
index 7e2284e01785c3ee15c0ced9b4b4a220e1fcccd3..cbcc840667c4001365d5644be6fc4e1b16817d90 100755 (executable)
@@ -1,7 +1,14 @@
-#! /bin/sh
+#! /bin/bash
 
-# create a cfi/debian base image
-./mkimage-debootstrap.sh cfi/debian wheezy http://debian.lcs.mit.edu/debian/
+# make sure Ruby 1.9.3 is installed before proceeding
+if ! ruby -e 'exit RUBY_VERSION >= "1.9.3"' 2>/dev/null
+then
+    echo "Installing Arvados requires at least Ruby 1.9.3."
+    echo "You may need to enter your password."
+    read -p "Press Ctrl-C to abort, or else press ENTER to install ruby1.9.3 and continue. " unused
 
-# build the Docker base image
-docker build -t cfi/base base
+    sudo apt-get update
+    sudo apt-get -y install ruby1.9.3
+fi
+
+build_tools/build.rb $*