containerfile: add proper OCI annotations
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4039e34668
commit
6d2d885fe2
@ -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 <package>-<version>`.
|
||||
# hadolint ignore=DL3041
|
||||
|
Loading…
Reference in New Issue
Block a user