summaryrefslogtreecommitdiffstats
path: root/Dockerfile.dev
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:49:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:49:10 +0000
commita85f3954a8fe112640c2c35da3228be29b17c97c (patch)
tree7ee43f79639ee53903e7ca389e548974e1497c3a /Dockerfile.dev
parentInitial commit. (diff)
downloadgitlint-upstream/0.18.0.tar.xz
gitlint-upstream/0.18.0.zip
Adding upstream version 0.18.0.upstream/0.18.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Dockerfile.dev')
-rw-r--r--Dockerfile.dev17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile.dev b/Dockerfile.dev
new file mode 100644
index 0000000..5cd1739
--- /dev/null
+++ b/Dockerfile.dev
@@ -0,0 +1,17 @@
+# Note: development using the local Dockerfile is still work-in-progress
+# Getting started: http://jorisroovers.github.io/gitlint/contributing/
+ARG python_version_dotted
+
+FROM python:${python_version_dotted}-stretch
+
+RUN apt-get update
+# software-properties-common contains 'add-apt-repository'
+RUN apt-get install -y git silversearcher-ag jq curl
+
+ADD . /gitlint
+WORKDIR /gitlint
+
+RUN pip install --ignore-requires-python -r requirements.txt
+RUN pip install --ignore-requires-python -r test-requirements.txt
+
+CMD ["/bin/bash"]