Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
/ hadolint-bundle Public archive

A bundle for Batect that provides Dockerfile linting using Hadolint.

License

Notifications You must be signed in to change notification settings

batect/hadolint-bundle

hadolint-bundle

Build Status License

A bundle for Batect that provides a task to lint Dockerfiles with Hadolint.

Usage

Setup

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

Tasks

lint:docker

Runs Hadolint on all Dockerfiles in the project directory.

Exits with a non-zero status code if any issues are found.

Development

Run ./batect --list-tasks to see a list of available tasks for this project.