A smarter Dockerfile linter that helps you build best practice Docker images. The linter parses the Dockerfile into an AST and performs rules on top of the AST. It stands on the shoulders of ShellCheck to lint the Bash code inside RUN instructions. You can run hadolint locally to lint your Dockerfile. You can download prebuilt binaries for OSX, Windows and Linux from the latest release page. However, if this does not work for you, please fall back to container (Docker), brew or source installation. Configuration files can be used globally or per project.
Features
- You can run hadolint locally to lint your Dockerfile
- On Windows, you can use scoop to install hadolint
- hadolint supports specifying the ignored rules using a configuration file
- Non-Posix Shells
- Rules can also be ignored on a per-file basis using the global ignore pragma
- Hadolint is able to check if specific labels are present and conform to a predefined label schema
Categories
LintersLicense
GNU General Public License version 3.0 (GPLv3)Follow Haskell Dockerfile Linter
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Haskell Dockerfile Linter!