diff --git a/docker/init.sh b/docker/init.sh index ef88489198..75f6f53d26 100644 --- a/docker/init.sh +++ b/docker/init.sh @@ -2,6 +2,9 @@ # exit when any command fails set -e +# Required to suppress some git errors further down the line +git config --global --add safe.directory /home/*** + # Create required directory structure (if it does not already exist) if [[ ! -d "$INVENTREE_STATIC_ROOT" ]]; then echo "Creating directory $INVENTREE_STATIC_ROOT"