docker-pre-commit/README.md

15 lines
504 B
Markdown
Raw Normal View History

2018-05-21 17:31:17 +00:00
# docker-pre-commit
A set of [pre-commit](http://pre-commit.com) hooks for Docker services
## Hooks
### docker-compose-check
Verifies that docker-compose files are valid by using `docker-compose config` to parse them.
2020-05-19 20:27:54 +00:00
### hadolint
Uses the [hadolint Docker image](https://hub.docker.com/hadolint/hadolint) 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.