-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic support for development on Docker (Vagrant also still works). This needs more polishing and some documentation.
- Loading branch information
1 parent
af74eb2
commit 6fb567b
Showing
2 changed files
with
121 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters