1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 03:45:02 +01:00

Move from deprecated MAINTAINER to LABEL maintainer=...

See https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
This commit is contained in:
Anthony Sottile
2017-11-10 12:57:37 -08:00
parent 7ce8f47c05
commit 8fb7132d2a
2 changed files with 3 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
FROM centos:centos7
# Here you can specify the maintainer for the image that you're building
MAINTAINER Your Name <your.name@example.com>
LABEL maintainer="Your Name <your.name@example.com>"
# Export an environment variable that provides information about the application version.
# Replace this with the version for your application.

View File

@@ -1,12 +1,11 @@
package templates
// Dockerfile is a default Dockerfile laid down by s2i create
const Dockerfile = `
# {{.ImageName}}
const Dockerfile = `# {{.ImageName}}
FROM openshift/base-centos7
# TODO: Put the maintainer name in the image metadata
# MAINTAINER Your Name <your@email.com>
# LABEL maintainer="Your Name <your@email.com>"
# TODO: Rename the builder environment variable to inform users about application you provide them
# ENV BUILDER_VERSION 1.0