fork of https://github.com/CalthorpeAnalytics/docker-pre-commit
with entrypoint removed so it works with GitLab CI
This image has the dependencies installed for many of the supported hooks in the pre-commit project.
The intended use is to run the python 'pre-commit' executable in a Docker container that contains all of the required dependencies ahead of time in order to speed up developer on-boarding of the tool.
If you just want to use the pre-built image you can find it on the Docker Hub:
https://hub.docker.com/r/calthorpeanalytics/pre-commit/
or via
docker run calthorpeanalytics/pre-commit --help
The Makefile contains several helper commands.
To generate a new .pre-commit-config.yaml file in order to create a new Docker image:
make yaml
To build a new Docker image:
make build
To do both in one go:
make all
Content type
Image
Digest
Size
397.4 MB
Last updated
over 7 years ago
docker pull bryanlarsen/pre-commit