Skip to content

Commit

Permalink
fix: Mark repo dir as safe
Browse files Browse the repository at this point in the history
  • Loading branch information
h314to committed Nov 21, 2022
1 parent 8ae1542 commit d8f875f
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 d8f875f

Please sign in to comment.