Merge pull request #4876 from timvink/patch-1

Fix issue with 'detected dubious ownership' in docker image
This commit is contained in:
Martin Donath 2023-01-16 22:28:40 +01:00 committed by GitHub
commit 30f8bf9d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,9 @@ RUN \
-path "*/__pycache__/*" \ -path "*/__pycache__/*" \
-exec rm -f {} \; -exec rm -f {} \;
# Trust git directory, required for git >= 2.35.2 # Trust directory, required for git >= 2.35.2
RUN git config --global --add safe.directory /docs RUN git config --global --add safe.directory /docs &&\
git config --global --add safe.directory /site
# Set working directory # Set working directory
WORKDIR /docs WORKDIR /docs