Skip to content

Files

Latest commit

 

History

History
24 lines (15 loc) · 655 Bytes

DL4000.md

File metadata and controls

24 lines (15 loc) · 655 Bytes

Pattern: Use of deprecated MAINTAINER

Issue: -

Description

The LABEL instruction is a much more flexible version of this and you should use it instead, as it enables setting any metadata you require, and can be viewed easily, for example with docker inspect.

Example of incorrect code:

MAINTAINER SvenDowideit@home.org.au

Example of correct code:

LABEL maintainer="SvenDowideit@home.org.au"

Further Reading