Hadolint
A smarter Dockerfile linter that helps you build best practice Docker images
| Type | object |
|---|---|
| File match |
.hadolint.yaml
hadolint.yaml
.hadolint.yml
hadolint.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/hadolint/latest.json |
| Source | https://raw.githubusercontent.com/hadolint/hadolint/master/contrib/hadolint.json |
Validate with Lintel
npx @lintel/lintel check
Dockerfile linter, validate inline bash, written in Haskell
Properties
Disable inline ignore pragmas # hadolint ignore=DLxxxx
A threshold controlling how severe a rule violation must be before the return code indicates failure.
Output format
Strictly adhere to label-schem, don't allow additional labels.
A label-schema. See https://github.com/hadolint/hadolint#linting-labels for reference.
Don't colorize output.
Don't exit with a failure status code when any rule is violated.
4 nested properties
A list of rules to be treated with "error" severity
A list of rules to be treated with "warning" severity
A list of rules to be treated with "info" severity
A list of rules to be treated with "style" severity
A list of rules to be ignored
A list of trusted registries. Ex: docker.io