summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8a4ad25..f560c44 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,4 +15,5 @@ ARG GITLINT_VERSION
RUN apk add git
RUN pip install gitlint==$GITLINT_VERSION
+RUN git config --global --add safe.directory /repo
ENTRYPOINT ["gitlint", "--target", "/repo"]