MAINTAINER instruction is deprecated in favor of using label.Documentation Index
Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Severity | Warning |
| Category | Best Practice |
| Default | Enabled |
| Auto-fix | Yes (--fix) |
Description
TheMAINTAINER instruction, used historically for specifying the author of
the Dockerfile, is deprecated. To set author metadata for an image, use the
org.opencontainers.image.authors OCI label instead.
Examples
Bad:Auto-fix
The fix replacesMAINTAINER with an equivalent
org.opencontainers.image.authors label.