From c245e987dd59de1f1dcc07826667d4f9282e4321 Mon Sep 17 00:00:00 2001 From: Ramon Bartl Date: Fri, 23 Dec 2022 18:13:38 +0100 Subject: [PATCH] Try to fix dubious ownership --- latest/docker-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/latest/docker-entrypoint.sh b/latest/docker-entrypoint.sh index 9cdb384..dd13ab8 100755 --- a/latest/docker-entrypoint.sh +++ b/latest/docker-entrypoint.sh @@ -10,6 +10,10 @@ mkdir -p /home/senaite/senaitelims/src find /data -not -user senaite -exec chown senaite:senaite {} \+ find /home/senaite -not -user senaite -exec chown senaite:senaite {} \+ +# Fix mr.developer: fatal: detected dubious ownership in repository at ... +# also see: https://github.com/actions/runner-images/issues/6775 +gosu senaite git config --global --add safe.directory /home/senaite/senaitelims/src + # Initializing from environment variables gosu senaite python /docker-initialize.py