Pre-Commit hooks for validating Docker projects
Go to file
IamTheFij 1acd61cff1
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Remove hadolint completely
2023-04-18 17:18:48 -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 Remove hadolint completely 2023-04-18 17:18:48 -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 Remove hadolint completely 2023-04-18 17:18:48 -07:00
compose-check.sh Prefer docker compose v2 2023-04-14 12:35:01 +01:00
hadolint-deprecation.sh Remove hadolint and add deprecation notice 2021-04-09 10:11:11 -07:00

README.md

docker-pre-commit

A set of pre-commit hooks for Docker services

Installation

Add the following to your .pre-commit-config.yaml file

  - repo: https://github.com/iamthefij/docker-pre-commit
    rev: master
    hooks:
      - id: docker-compose-check

and then run pre-commit autoupdate.

Hooks

docker-compose-check

Verifies that docker-compose files are valid by using docker-compose config to parse them.