From 6e2c65572ff8bc4747c8f8f9234ef2967154d488 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 28 Aug 2023 10:40:34 -0700 Subject: [PATCH] Replace wildcard safe directory with htdocs --- 5etools-docker/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5etools-docker/init.sh b/5etools-docker/init.sh index b11b2b36..b67c388b 100644 --- a/5etools-docker/init.sh +++ b/5etools-docker/init.sh @@ -47,7 +47,7 @@ case $SOURCE in git config --global user.email "autodeploy@jafner.tools" git config --global user.name "AutoDeploy" git config --global pull.rebase false # Squelch nag message - git config --global --add safe.directory '*' # Disable directory ownership checking, required for mounted volumes + git config --global --add safe.directory '/usr/local/apache2/htdocs' # Disable directory ownership checking, required for mounted volumes git clone --filter=blob:none --no-checkout $DL_LINK . # clone the repo with no files and no object history git config core.sparseCheckout true # enable sparse checkout git sparse-checkout init