A bundle for Batect that provides a task to lint Dockerfiles with Hadolint.
Add the following to your batect.yml
:
include:
- type: git
repo: https://github.com/batect/hadolint-bundle.git
ref: XXX # Replace with latest version from https://github.com/batect/hadolint-bundle/releases
Runs Hadolint on all Dockerfiles in the project directory.
Exits with a non-zero status code if any issues are found.
Run ./batect --list-tasks
to see a list of available tasks for this project.