summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-19 14:00:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-19 14:00:14 +0000
commitdf9615bac55ac6f1c3f516b66279ac0007175030 (patch)
tree84dd81d1c97835271cea7fbdd67c074742365e07 /Dockerfile
parentInitial commit. (diff)
downloadgitlint-df9615bac55ac6f1c3f516b66279ac0007175030.tar.xz
gitlint-df9615bac55ac6f1c3f516b66279ac0007175030.zip
Adding upstream version 0.13.1.upstream/0.13.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..b66bb71
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+# User-facing Dockerfile. For development, see Dockerfile.dev and ./run_tests.sh -h
+
+# To lint your current working directory:
+# docker run -v $(pwd):/repo jorisroovers/gitlint
+
+# With arguments:
+# docker run -v $(pwd):/repo jorisroovers/gitlint --debug --ignore T1
+
+FROM python:3.8-alpine
+ARG GITLINT_VERSION
+
+RUN apk add git
+RUN pip install gitlint==$GITLINT_VERSION
+
+ENTRYPOINT ["gitlint", "--target", "/repo"]