Skip to content

Commit

Permalink
Merge pull request #71 from codacy/fix/mark-repo-dir-as-safe
Browse files Browse the repository at this point in the history
fix: Mark repo dir as safe
  • Loading branch information
lolgab authored Nov 21, 2022
2 parents 8ae1542 + d8f875f commit 1321b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apk add --update --no-cache git

COPY --from=builder /workspace/bin/git-version /bin

RUN mkdir -p /repo
RUN mkdir -p /repo && git config --global --add safe.directory /repo
VOLUME /repo

CMD ["/bin/git-version", "--folder=/repo"]

0 comments on commit 1321b4d

Please sign in to comment.