batect / hadolint-bundle

A bundle for Batect that provides Dockerfile linting using Hadolint.

Home Page:https://batect.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A bundle for Batect that provides Dockerfile linting using Hadolint.

https://batect.dev

License:Apache License 2.0


Languages

Language:Batchfile 55.7%Language:Shell 42.9%Language:Dockerfile 1.4%