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.
Each Dockerfile AST element has a corresponding set of rules. Click on the picture for details.
A collection of documents describing the thought process behind selected design decisions. Link >
docker pull cremindes/whalelint:[tag]
docker run --rm -v $(pwd)/Dockerfile:/Dockerfile cremindes/whalelint:[tag] Dockerfile
*Note: make sure, to also install the Docker plugin in case it's not bundled with the IDE.