Pre-Commit hooks for validating Docker projects
|
||
---|---|---|
tests | ||
.drone.yml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
compose-check.sh | ||
LICENSE | ||
Makefile | ||
README.md |
docker-pre-commit
A set of pre-commit hooks for Docker services
Hooks
docker-compose-check
Verifies that docker-compose files are valid by using docker-compose config
to parse them.
hadolint
Uses the hadolint Docker image to lint Dockerfiles.
hadolint-system
Uses the whatever version of hadolint that you have installed to lint Dockerfiles. This requires you to have hadolint installed somewhere in your path.