some hadolint pre-commit goodies
| .pre-commit-config.yaml | ||
| .pre-commit-hooks.yaml | ||
| LICENSE | ||
| README.md | ||
hadolint-pre-commit
this repo provides pre-commit hooks for
hadolint
usage
the following hooks are part of the repo:
hadolint- lints Containerfiles using systemhadolinthadolint-container- lints Containerfiles in a container
example usage is as follows:
# .pre-commit-config.yaml
---
fail_fast: false
repos:
- repo: https://git.dotya.ml/wanderer/hadolint-pre-commit
# rev: v2.10.0
rev: 9a29f5c23228c332d46379455217f772c7ee6002 # commit or tag or branch
hooks:
- id: hadolint
- id: hadolint-container
...
dependencies
the only dependencies are:
pre-commit, obviouslyhadolintfor thehadolinthookpodman/dockerinstalled for thehadolint-containerhook
LICENSE
MIT