From b6e450428ae9049bbb2a86c0d010d7de499ad0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Toman?= Date: Wed, 9 Aug 2023 13:55:03 +0200 Subject: [PATCH] Fix failing book build in docker due to git fatal error: detected dubious ownership in repository at '/repo' --- docker/Dockerfile.ubuntu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 090db74a..02187ae3 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -33,6 +33,8 @@ RUN set -e; \ done; \ fc-cache -f -v +RUN git config --system --add safe.directory /repo + RUN useradd -u 1001 runner # setup texlive to handle having no home directory