dockerfiles/gitiles/start.sh
Jess Frazelle a85814d20e
updates and cleanups
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
2016-04-06 03:32:01 -07:00

13 lines
258 B
Bash
Executable File

#!/bin/sh
set -e
ROOT="/gitiles"
PROPERTIES=
if [ "x$1" != "x" ]; then
PROPERTIES="-Dcom.google.gitiles.configPath=$1"
fi
PROPERTIES="$PROPERTIES -Dcom.google.gitiles.sourcePath=$ROOT"
exec java $PROPERTIES -jar "$ROOT/buck-out/gen/gitiles-dev/dev.jar"