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.
npm i @putout/plugin-docker -D
{
"rules": {
"docker/convert-maintainer-to-label": "on"
}
}The
MAINTAINERinstruction, used historically for specifying the author of the Dockerfile, is deprecated. To set author metadata for an image, use theorg.opencontainers.image.authorsOCI label.(c) docker.com
Checkout in 🐊Putout Editor.
-MAINTAINER hello
+LABEL helloMIT