Skip to content

batect/hadolint-bundle

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.