From c0e299f9a717dea87bf191cee32f15578cfe6d8719e3c790aa1ffe22f1a5e6bd Mon Sep 17 00:00:00 2001 From: Vasily Ulyanov Date: Fri, 5 Aug 2022 04:57:20 +0000 Subject: [PATCH] Accepting request 993181 from home:vulyanov:branches:Virtualization:tuning OBS-URL: https://build.opensuse.org/request/show/993181 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-operator-container?expand=0&rev=14 --- Dockerfile | 15 +++++++++------ virt-operator-container.changes | 5 +++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93cd2f1..5d2c5cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/virt-operator-container.changes b/virt-operator-container.changes index e86fe47..4157023 100644 --- a/virt-operator-container.changes +++ b/virt-operator-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 4 07:30:42 UTC 2022 - Vasily Ulyanov + +- Use standard LABEL directive to add mandatory labels + ------------------------------------------------------------------- Wed Dec 8 15:10:01 UTC 2021 - Guillaume GARDET