diff --git a/docker/Dockerfile.flux b/docker/Dockerfile.flux index a2cebeefd..2fa32d0c6 100644 --- a/docker/Dockerfile.flux +++ b/docker/Dockerfile.flux @@ -1,7 +1,13 @@ FROM alpine:3.6 # These are pretty static -LABEL org.label-schema.schema-version="1.0" \ +LABEL maintainer="Weaveworks " \ + org.opencontainers.image.title="flux" \ + org.opencontainers.image.description="The Flux daemon, for synchronising your cluster with a git repo, and deploying new images" \ + org.opencontainers.image.url="https://github.com/weaveworks/flux" \ + org.opencontainers.image.source="git@github.com:weaveworks/flux" \ + org.opencontainers.image.vendor="Weaveworks" \ + org.label-schema.schema-version="1.0" \ org.label-schema.name="flux" \ org.label-schema.description="The Flux daemon, for synchronising your cluster with a git repo, and deploying new images" \ org.label-schema.url="https://github.com/weaveworks/flux" \ @@ -28,5 +34,7 @@ ARG BUILD_DATE ARG VCS_REF # These will change for every build -LABEL org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.build-date=$BUILD_DATE +LABEL org.opencontainers.image.revision="$VCS_REF" \ + org.opencontainers.image.created="$BUILD_DATE" \ + org.label-schema.vcs-ref="$VCS_REF" \ + org.label-schema.build-date="$BUILD_DATE" diff --git a/docker/Dockerfile.helm-operator b/docker/Dockerfile.helm-operator index ab60406b2..c798e1acf 100644 --- a/docker/Dockerfile.helm-operator +++ b/docker/Dockerfile.helm-operator @@ -1,7 +1,13 @@ FROM alpine:3.6 # These are pretty static -LABEL org.label-schema.schema-version="1.0" \ +LABEL maintainer="Weaveworks " \ + org.opencontainers.image.title="flux-helm-operator" \ + org.opencontainers.image.description="The Flux Helm operator, for releasing Helm charts according to git" \ + org.opencontainers.image.url="https://github.com/weaveworks/flux" \ + org.opencontainers.image.source="git@github.com:weaveworks/flux" \ + org.opencontainers.image.vendor="Weaveworks" \ + org.label-schema.schema-version="1.0" \ org.label-schema.name="flux-helm-operator" \ org.label-schema.description="The Flux Helm operator, for releasing Helm charts according to git" \ org.label-schema.url="https://github.com/weaveworks/flux" \ @@ -28,5 +34,7 @@ ARG BUILD_DATE ARG VCS_REF # These will change for every build -LABEL org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.build-date=$BUILD_DATE +LABEL org.opencontainers.image.revision="$VCS_REF" \ + org.opencontainers.image.created="$BUILD_DATE" \ + org.label-schema.vcs-ref="$VCS_REF" \ + org.label-schema.build-date="$BUILD_DATE"