Skip to content

LABEL maintainer is used instead of MAINTAINER (deprecated)

Description

The LABEL instruction is much more flexible and recommended to replace the MAINTAINER (deprecated) instruction in a Dockerfile.

Code Example

Dockerfile
FROM  base
- MAINTAINER bad

Remediation

Docker

Rule Details

FieldValue
IDIAC-0839
SeverityLOW
IaC Typedockerfile
FrameworksDocker
Checkov IDCKV_DOCKER_6

References