Skip to content

Commit

Permalink
Merge pull request #4876 from timvink/patch-1
Browse files Browse the repository at this point in the history
Fix issue with 'detected dubious ownership' in docker image
  • Loading branch information
squidfunk committed Jan 16, 2023
2 parents ba3948f + f95de7a commit 30f8bf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -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
Expand Down

0 comments on commit 30f8bf9

Please sign in to comment.