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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user