Checkout with detached head
@@ -17,7 +17,7 @@ mkdir "${SOURCE_DIR}"
mkdir "${BUILD_DIR}"
git clone --no-checkout --local --no-hardlinks file:///vespa "${SOURCE_DIR}"
cd "${SOURCE_DIR}"
-git checkout ${GIT_COMMIT}
+git checkout --detach ${GIT_COMMIT}
source /opt/rh/devtoolset-6/enable || true
sh ./bootstrap.sh full
mvn install
