generic.dockerfile.best-practice.maintainer-is-deprecated.maintainer-is-deprecated

profile photo of returntocorpreturntocorp
Author
2,919
Download Count*

MAINTAINER has been deprecated.

Run Locally

Run in CI

Defintion

rules:
  - id: maintainer-is-deprecated
    severity: INFO
    languages:
      - generic
    pattern: MAINTAINER
    message: MAINTAINER has been deprecated.
    metadata:
      source-rule-url: https://github.com/hadolint/hadolint/wiki/DL4000
      references:
        - https://github.com/hadolint/hadolint/wiki/DL4000
      category: best-practice
      technology:
        - dockerfile
      license: Commons Clause License Condition v1.0[LGPL-2.1-only]
    paths:
      include:
        - "*dockerfile*"
        - "*Dockerfile*"

Examples

maintainer-is-deprecated.dockerfile

# cf. https://github.com/hadolint/hadolint/wiki/DL4000

FROM busybox

# ruleid: maintainer-is-deprecated
MAINTAINER Lukas Martinelli <me@lukasmartinelli.ch>