Pre-Commit hooks for validating Docker projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IamTheFij 96e53d68bb Add hadolint 1 week ago
tests Add some tests and drone to run them 4 months ago
.drone.yml Add shellcheck back 4 months ago
.gitignore Initial commit 2 years ago
.pre-commit-hooks.yaml Add hadolint 1 week ago
LICENSE Initial commit 2 years ago
Makefile Add some tests and drone to run them 4 months ago
README.md Add hadolint 1 week ago
compose-check.sh Add some tests and drone to run them 4 months ago

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.