Skip to content

Commit

Permalink
fix "dubious ownership in repository" error
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-merlin committed Mar 14, 2024
1 parent 158b628 commit 9f42ed1
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 @@ VOLUME /data
RUN apk add --no-cache cloc

RUN apk add --no-cache git
# trust repositories not owned by the current user https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks
RUN git config --global --add safe.directory '*'

RUN apk add --no-cache python3
RUN apk add --no-cache curl
RUN apk add --no-cache bash
Expand Down

0 comments on commit 9f42ed1

Please sign in to comment.