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 aeda358a4a Change drone steps 3 months ago
tests Add some tests and drone to run them 11 months ago
.drone.yml Change drone steps 3 months ago
.gitignore Initial commit 2 years ago
.pre-commit-config.yaml Add pre-commit hooks of our own 3 months ago
.pre-commit-hooks.yaml Add hadolint 8 months ago
LICENSE Initial commit 2 years ago
Makefile Add pre-commit hooks of our own 3 months ago
README.md Add hadolint 8 months ago
compose-check.sh Expand command line flags 3 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.