WhaleLint
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
Design Decisions
A collection of documents describing the thought process behind selected design decisions. Link >
Contribution Guide
Docker Image
docker pull cremindes/whalelint:[tag]
docker run --rm -v $(pwd)/Dockerfile:/Dockerfile cremindes/whalelint:[tag] Dockerfile
Plugins
JetBrains
*Note: make sure, to also install the Docker plugin in case it's not bundled with the IDE.