Pre-Commit hooks for validating Docker projects
Go to file
IamTheFij 86d69eafb9
Merge pull request #1 from lkwg82/patch-1
fixes link to hadolint
2021-04-06 10:40:27 -07:00
tests Add some tests and drone to run them 2020-01-28 15:21:42 -05:00
.drone.yml Change drone steps 2020-09-19 21:26:29 +00:00
.gitignore Initial commit 2018-05-21 10:31:17 -07:00
.pre-commit-config.yaml Add pre-commit hooks of our own 2020-09-19 20:07:34 +00:00
.pre-commit-hooks.yaml Add hadolint 2020-05-19 13:27:54 -07:00
LICENSE Initial commit 2018-05-21 10:31:17 -07:00
Makefile Add pre-commit hooks of our own 2020-09-19 20:07:34 +00:00
README.md fixes link to hadolint 2020-09-13 19:35:08 +02:00
compose-check.sh Expand command line flags 2020-09-19 19:57:38 +00:00

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.