diff --git a/Dockerfile b/Dockerfile index 65ff5acf5..f9dd99791 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,11 +83,11 @@ RUN \ find ${PACKAGES} \ -type f \ -path "*/__pycache__/*" \ - -exec rm -f {} \; - -# Trust directory, required for git >= 2.35.2 -RUN git config --global --add safe.directory /docs &&\ - git config --global --add safe.directory /site + -exec rm -f {} \; \ +&& \ + git config --system --add safe.directory /docs \ +&& \ + git config --system --add safe.directory /site # Set working directory WORKDIR /docs