docker-pre-commit/README.md

15 lines
506 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
2020-09-13 17:35:08 +00:00
Uses the [hadolint Docker image](https://hub.docker.com/r/hadolint/hadolint) to lint Dockerfiles.
2020-05-19 20:27:54 +00:00
### 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.