Skip to content

Dockerfile linter written in Go. It provides static analysis for Dockerfiles, identifying common mistakes and promotes best practices.

License

Notifications You must be signed in to change notification settings

CreMindES/whalelint

Folders and files

NameName
Last commit message
Last commit date
May 12, 2022
Dec 25, 2021
Dec 25, 2021
Mar 12, 2021
Dec 27, 2021
Mar 8, 2021
Dec 25, 2021
May 12, 2022
Mar 12, 2021
Feb 23, 2021
Dec 25, 2021
Mar 12, 2021
Jan 2, 2021
Dec 16, 2020
Mar 12, 2021
Jun 11, 2022
Jun 11, 2022
Jan 15, 2021
Feb 23, 2021

Repository files navigation

WhaleLint

made-with-Go

Disclaimer: this has started out as a pet-project while learning Golang.

Dockerfile linter written in Go.

It provides static analysis for Dockerfiles, identifying common mistakes and promotes best practices.

Sample output

Rules

Each Dockerfile AST element has a corresponding set of rules. Click on the picture for details.

Development

Roadmap

Feature Status
Extendable ruleset Done
CLI Done
Configurable Output Done
- JSON Done
- Colored Summary Done
Docker image Done
Rule pass NotYetStarted
- Per line NotYetStarted
- Config file NotYetStarted
Config file NotYetStarted
- Rule profiles NotYetStarted
IDE plugins/extensions InProgress
- VSCode PreviewRelease
- JetBrains PreviewRelease

Design Decisions

A collection of documents describing the thought process behind selected design decisions. Link >

Contribution Guide

Link > TODO

Docker Image

Docker imaage version DockerHub Downloads Docker image size

docker pull cremindes/whalelint:[tag]
docker run --rm -v $(pwd)/Dockerfile:/Dockerfile cremindes/whalelint:[tag] Dockerfile

Plugins

JetBrains

Version Downloads

*Note: make sure, to also install the Docker plugin in case it's not bundled with the IDE.

VSCode

Version Installs

Alternatives

Alternatives