Skip to content

Commit

Permalink
Merge pull request #906 from bensonhome/main
Browse files Browse the repository at this point in the history
🐛修复挂载的代码目录owner不是root时,导致git blame异常
  • Loading branch information
Lingghh authored Aug 24, 2023
2 parents ba452c3 + a8bcf75 commit be89bed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ RUN pip3 install --no-cache-dir -U pip \

COPY . .

# 避免挂载的代码目录owner不是root时,导致git blame异常 - fatal: unsafe repository ('/xxx/xxx' is owned by someone else)
RUN git config --global --add safe.directory '*'

CMD [ "python3", "codepuppy.py", "localscan"]

0 comments on commit be89bed

Please sign in to comment.