From 85812cd25d9e2f015bb71b26d51458b3718bf6c7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 3 Nov 2020 07:07:48 +0100 Subject: Merging upstream version 0.14.0. Signed-off-by: Daniel Baumann --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index b66bb71..9f93206 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +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 +# docker run --ulimit nofile=1024 -v $(pwd):/repo jorisroovers/gitlint # With arguments: -# docker run -v $(pwd):/repo jorisroovers/gitlint --debug --ignore T1 +# docker --ulimit nofile=1024 run -v $(pwd):/repo jorisroovers/gitlint --debug --ignore T1 -FROM python:3.8-alpine +# NOTE: --ulimit is required to work around a limitation in Docker +# Details: https://github.com/jorisroovers/gitlint/issues/129 + +FROM python:3.9-alpine ARG GITLINT_VERSION RUN apk add git -- cgit v1.2.3