Skip to content

Commit 1321b4d

Browse files
authored
Merge pull request #71 from codacy/fix/mark-repo-dir-as-safe
fix: Mark repo dir as safe
2 parents 8ae1542 + d8f875f commit 1321b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apk add --update --no-cache git
1919

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

22-
RUN mkdir -p /repo
22+
RUN mkdir -p /repo && git config --global --add safe.directory /repo
2323
VOLUME /repo
2424

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

0 commit comments

Comments
 (0)