diff --git a/services/git-bridge/install-deps.sh b/services/git-bridge/install-deps.sh new file mode 100644 index 0000000000..112afbbf00 --- /dev/null +++ b/services/git-bridge/install-deps.sh @@ -0,0 +1,9 @@ +if [ "$(id -u)" != "0" ]; then + echo "You must be root to install deps" 1>&2 + exit 1 +fi +apt-get update +apt-get install ant +apt-get install openjdk-7-jdk +update-alternatives --set java /usr/lib/java-7-openjdk-amd64/jre/bin/java +update-alternatives --set javac /usr/lib/java-7-openjdk-amd64/jre/bin/javac