Pre-Commit hooks for validating Docker projects
Go to file
IamTheFij 5c7dc7758b
continuous-integration/drone/push Build is failing Details
Add pre-commit hooks of our own
Adds some basic near-universal checks and shellcheck
2020-09-19 20:07:34 +00: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-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 Add hadolint 2020-05-19 13:27:54 -07: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.