2
0
mirror of https://github.com/spritsail/alpine.git synced 2024-06-14 05:37:23 +00:00

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 <me@frebib.net>
This commit is contained in:
Joe Groocock 2024-04-01 15:56:47 +00:00
parent 4b67afe49d
commit ed8af085db
Signed by: frebib
GPG Key ID: A5571FCDC53ADDE6

View File

@ -4,12 +4,12 @@ FROM alpine:$ALPINE_TAG
ARG ALPINE_TAG
LABEL maintainer="Spritsail <alpine@spritsail.io>" \
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 <alpine@spritsail.io>" \
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"]