Dominique Leuenberger 2022-08-05 17:51:15 +00:00 committed by Git OBS Bridge
commit 4b7b0bfcde
2 changed files with 14 additions and 6 deletions

View File

@ -11,13 +11,16 @@
ARG KUBEVIRTFROM
FROM $KUBEVIRTFROM
# Mandatory labels for the build service:
# https://en.opensuse.org/Building_derived_containers
# labelprefix=%%LABELPREFIX%%
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-operator container"
PREFIXEDLABEL org.opencontainers.image.description="Virtualization operator for kubevirt"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-operator:%%PKG_VERSION%%.%RELEASE%"
LABEL org.opencontainers.image.title="kubevirt virt-operator container"
LABEL org.opencontainers.image.description="Virtualization operator for kubevirt"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-operator:%%PKG_VERSION%%.%RELEASE%"
# endlabelprefix
RUN zypper -n install kubevirt-virt-operator shadow && \
zypper clean -a && \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 4 07:30:42 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Use standard LABEL directive to add mandatory labels
-------------------------------------------------------------------
Wed Dec 8 15:10:01 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>