Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.39 KB

File metadata and controls

47 lines (32 loc) · 1.39 KB

@putout/plugin-docker NPM version

A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. This page describes the commands you can use in a Dockerfile.

(c) docker.com

🐊Putout plugin helps with Dockerfile.

Install

npm i @putout/plugin-docker -D

Rules

Config

{
    "rules": {
        "docker/convert-maintainer-to-label": "on"
    }
}

convert-maintainer-to-label

The MAINTAINER instruction, used historically for specifying the author of the Dockerfile, is deprecated. To set author metadata for an image, use the org.opencontainers.image.authors OCI label.

(c) docker.com

Checkout in 🐊Putout Editor.

-MAINTAINER hello
+LABEL hello

License

MIT