Ensure that LABEL maintainer is used instead of MAINTAINER (deprecated)
Error: LABEL maintainer is not used instead of MAINTAINER (deprecated)
Bridgecrew Policy ID: BC_DKR_6
Checkov Check ID: CKV_DOCKER_6
Severity: LOW
LABEL maintainer is not used instead of MAINTAINER (deprecated)
Description
The LABEL instruction is much more flexible and recommended to replace the MAINTAINER (deprecated) instruction in a Dockerfile.
Fix - Buildtime
Docker
FROM base
- MAINTAINER bad
+ LABEL maintainer = good
Updated 8 months ago