diff --git a/Containerfile b/Containerfile index ee31659..52309a1 100644 --- a/Containerfile +++ b/Containerfile @@ -6,10 +6,20 @@ ARG VCS_REF LABEL description="Container image based on fedora-minimal, hourly updated, serving as a base image for other projects" +# as per https://github.com/opencontainers/image-spec/blob/main/annotations.md, +# keep Label Schema labels for backward compatibility. LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.vcs-url="https://git.dotya.ml/wanderer-containers/fedora-minimal.git" \ org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.license=MIT + org.label-schema.license=MIT \ + org.opencontainers.image.description="fedora-minimal" \ + org.opencontainers.image.description="Container image based on fedora-minimal, hourly updated, serving as a base image for other projects" \ + org.opencontainers.image.created=$BUILD_DATE \ + org.opencontainers.image.authors=wanderer \ + org.opencontainers.image.url="https://git.dotya.ml/wanderer-containers/fedora-minimal.git" \ + org.opencontainers.image.source="https://git.dotya.ml/wanderer-containers/fedora-minimal.git" \ + org.opencontainers.image.revision=$VCS_REF \ + org.opencontainers.image.licenses=MIT # DL3041 warning: Specify version with `dnf install -y -`. # hadolint ignore=DL3041