From f95de7ac888116b0cf06deb340d81f3f01c93936 Mon Sep 17 00:00:00 2001 From: Tim Vink Date: Mon, 16 Jan 2023 12:33:28 +0100 Subject: [PATCH] Fix issue with 'detected dubious ownership' in docker image --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67353bac8..65932963f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,8 +81,9 @@ RUN \ -path "*/__pycache__/*" \ -exec rm -f {} \; -# Trust git directory, required for git >= 2.35.2 -RUN git config --global --add safe.directory /docs +# Trust directory, required for git >= 2.35.2 +RUN git config --global --add safe.directory /docs &&\ + git config --global --add safe.directory /site # Set working directory WORKDIR /docs