1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fix issue with 'detected dubious ownership' in docker image

This commit is contained in:
Tim Vink 2023-01-16 12:33:28 +01:00 committed by GitHub
parent ba3948f854
commit f95de7ac88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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