Skip to content

Commit

Permalink
Fix dubious ownership in repository
Browse files Browse the repository at this point in the history
Fix fatal: detected dubious ownership in repository at '/github/workspace'

Bug: T314987
  • Loading branch information
winstonsung committed Feb 27, 2023
1 parent 404387c commit 60aafd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ RUN apk update && apk upgrade && \

RUN pip3 install git-filter-repo

# T314987: Git require the .git folder to be owned by the same user
RUN git config --system --add safe.directory /github/workspace

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 60aafd5

Please sign in to comment.