summaryrefslogtreecommitdiffstats
path: root/Dockerfile.dev
blob: 5cd1739738824bb4a85284719ce6a2eca461e180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]