The Dockerfile MAINTAINER instruction is deprecated
Deprecated. The source gives no day. Replacement: A LABEL org.opencontainers.image.authors instruction carrying the same author text. Source: Dockerfile reference: MAINTAINER (deprecated).
Check a version:
evergreen check pkg:generic/dockerfile
The Dockerfile reference marks MAINTAINER as deprecated because author metadata belongs in the org.opencontainers.image.authors label.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Deprecated |
| Severity | low |
| Ecosystem | container |
| Component | pkg:generic/dockerfile |
| Affected versions | vers:semver/* |
| Date from the source | The source gives no day |
| Replacement | A LABEL org.opencontainers.image.authors instruction carrying the same author text |
| Evidence last seen | 2026-10-31 |
| Reviewed | 2026-10-31 by arminazimi |
| Review due | 2027-10-31 (365 days after the last review) |
| Rule ID | container.dockerfile.maintainer |
Sources
- Dockerfile reference: MAINTAINER (deprecated) (accessed 2026-10-31)
- Docker build check: MaintainerDeprecated (accessed 2026-10-31)
Migration
Constraints
- Keep the author text exactly as it is written.
- Quote the label value so spaces and punctuation stay part of the value.
Steps
- Replace MAINTAINER with the OCI author label. Replace the MAINTAINER instruction with LABEL org.opencontainers.image.authors, using the same author text as a quoted value.
Verification
docker build .: Build the image with the rewritten Dockerfile.docker inspect IMAGE: Confirm the image carries the org.opencontainers.image.authors label.
Detected by
The container detector. See Detectors and Compatibility.
Related
Other versions of this product
Same ecosystem
- Alpine Linux image release lines 3.20 and older are end-of-life
- Alpine Linux image release line 3.21 is end-of-life
- Caddy image release lines 1 and older are end-of-life
- ClickHouse image release lines 26.2 and older are end-of-life
- Couchbase Server image release lines 7.2 and older are end-of-life
- Apache CouchDB image release lines 3.3 and older are end-of-life
- Debian image release lines 11 and older are end-of-life
- Drupal image release lines 10.5 and older are end-of-life
Data
This page is generated from registry/container.json, rule container.dockerfile.maintainer, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated