Pre-Commit hooks for validating Docker projects
Go to file
IamTheFij 96e53d68bb
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Add hadolint
2020-05-19 13:27:54 -07:00
tests Add some tests and drone to run them 2020-01-28 15:21:42 -05:00
.drone.yml Add shellcheck back 2020-01-30 16:31:00 -08:00
.gitignore Initial commit 2018-05-21 10:31:17 -07: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 some tests and drone to run them 2020-01-28 15:21:42 -05:00
README.md Add hadolint 2020-05-19 13:27:54 -07:00
compose-check.sh Add some tests and drone to run them 2020-01-28 15:21:42 -05: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.