From ed8af085dbe87897f32243bbc045e41d500c3f2c Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Mon, 1 Apr 2024 15:56:47 +0000 Subject: [PATCH] Replace label-schema labels with opencontainers org.label-schema.* labels are officially deprecated and replaced by the opencontainers labels defined by the opencontainers image-spec at https://github.com/opencontainers/image-spec/blob/main/annotations.md Signed-off-by: Joe Groocock --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2df250..3d51435 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ FROM alpine:$ALPINE_TAG ARG ALPINE_TAG -LABEL maintainer="Spritsail " \ - org.label-schema.vendor="Spritsail" \ - org.label-schema.name="Alpine Linux" \ - org.label-schema.url="https://github.com/gliderlabs/docker-alpine" \ - org.label-schema.description="Alpine Linux base image" \ - org.label-schema.version=${ALPINE_TAG} +LABEL org.opencontainers.image.authors="Spritsail " \ + org.opencontainers.image.title="Alpine Linux" \ + org.opencontainers.image.url="https://github.com/gliderlabs/docker-alpine" \ + org.opencontainers.image.source="https://github.com/spritsail/alpine" \ + org.opencontainers.image.description="Alpine Linux base image" \ + org.opencontainers.image.version=${ALPINE_TAG} # Override shell for sh-y debugging goodness SHELL ["/bin/sh", "-exc"]