Merge pull request #2712 from luxaslabs/deprecate_maintainer_dockerfile

Remove the deprecated MAINTAINER field in Dockerfiles and change to "LABEL maintainer" instead
This commit is contained in:
Bryan Boreham authored and GitHub committed 2016-12-23 16:06:41 +00:00
commit 93dcc4550a
4 files changed
+17 -5

No files matched your search

+9
View File
@@ -1,4 +1,13 @@
FROM alpine FROM alpine
LABEL maintainer "Weaveworks Inc <help@weave.works>"
LABEL works.weave.role=system \
org.label-schema.name="Weave Net" \
org.label-schema.description="Weave Net creates a virtual network that connects Docker containers across multiple hosts and enables their automatic discovery" \
org.label-schema.url="https://weave.works" \
org.label-schema.vcs-url="https://github.com/weaveworks/weave" \
org.label-schema.vendor="Weaveworks"
RUN apk add --update \ RUN apk add --update \
iptables \ iptables \
ipset \ ipset \
+1 -1
View File
@@ -1,6 +1,6 @@
# This is a nearly-empty image that we use to create a data-only container for persistence # This is a nearly-empty image that we use to create a data-only container for persistence
FROM scratch FROM scratch
MAINTAINER Weaveworks Inc <help@weave.works> LABEL maintainer "Weaveworks Inc <help@weave.works>"
ENTRYPOINT ["data-only"] ENTRYPOINT ["data-only"]
# Work round Docker refusing to save an empty image # Work round Docker refusing to save an empty image
COPY Dockerfile / COPY Dockerfile /
+7 -2
View File
@@ -1,7 +1,12 @@
FROM alpine FROM alpine
MAINTAINER Weaveworks Inc <help@weave.works> LABEL maintainer "Weaveworks Inc <help@weave.works>"
LABEL works.weave.role=system LABEL works.weave.role=system \
org.label-schema.name="Weave Net" \
org.label-schema.description="Weave Net creates a virtual network that connects Docker containers across multiple hosts and enables their automatic discovery" \
org.label-schema.url="https://weave.works" \
org.label-schema.vcs-url="https://github.com/weaveworks/weave" \
org.label-schema.vendor="Weaveworks"
WORKDIR /home/weave WORKDIR /home/weave
ENTRYPOINT ["/home/weave/sigproxy", "/home/weave/weave"] ENTRYPOINT ["/home/weave/sigproxy", "/home/weave/weave"]
-2
View File
@@ -1,6 +1,4 @@
FROM DOCKERHUB_USER/weaveexec FROM DOCKERHUB_USER/weaveexec
MAINTAINER Weaveworks Inc <help@weave.works>
LABEL works.weave.role=system
WORKDIR /home/weave WORKDIR /home/weave
ADD ./weaver /home/weave/ ADD ./weaver /home/weave/
ADD weavedata.db /weavedb/ ADD weavedata.db /weavedb/