mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge pull request #4876 from timvink/patch-1
Fix issue with 'detected dubious ownership' in docker image
This commit is contained in:
commit
30f8bf9d97
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user