hadolint

Install command:
brew install hadolint

Smarter Dockerfile linter to validate best practices

https://github.com/hadolint/hadolint

License: GPL-3.0-only

Development: Pull requests

Formula JSON API: /api/formula/hadolint.json

Formula code: hadolint.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.15.1

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library

Depends on when building from source:

cabal-install 3.18.2.0 Command-line interface for Cabal and Hackage
ghc 9.14.1 Glorious Glasgow Haskell Compilation System

Uses from macOS: libffi, xz

Binaries: hadolint

GitHub Packages downloads:

Last 30 days16,531
Downloads453,251
Analytics install events (30 days)3,462
Downloads / install events (30 days)4.8×

Source: GitHub Packages, fetched 2026-11-13T00:53:29Z. Analytics dates: 2026-10-14 to 2026-11-13. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs3,4607,77828,305
Installs (--HEAD)2631
Installs on Request3,4607,77628,295
Installs on Request (--HEAD)2631
Build Errors1