no-maintainer
What it does
Section titled “What it does”Reports a MAINTAINER instruction.
Why it matters
Section titled “Why it matters”MAINTAINER has been deprecated since Docker 1.13 and may be removed. Its replacement, a label such as LABEL org.opencontainers.image.authors="Name <name@example.com>", carries the same information under a standard key that registries and tools read.
Example
Section titled “Example”...ONBUILD CMD echo hi...MAINTAINER a@b.c...COPY a b /dest/...Configuration
Section titled “Configuration”dockerfile: lint: rules: no-maintainer: warn # off, warn (default), errorEnabled by the presets: dockerfile/hadolint.
Suppress one line with sudsy-disable-next-line no-maintainer in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| hadolint | DL4000 |
full |