blob: b66bb71608bb3625d5da7a0da9168511f69d1459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"]
|