From e4956426e730a87a38be0cf85bd896fac18c299c9f126c1d5798ffc2d09a42f0 Mon Sep 17 00:00:00 2001 From: Vasily Ulyanov Date: Fri, 5 Aug 2022 04:58:28 +0000 Subject: [PATCH] Accepting request 993177 from home:vulyanov:branches:Virtualization:tuning OBS-URL: https://build.opensuse.org/request/show/993177 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-exportserver-container?expand=0&rev=3 --- Dockerfile | 15 +++++++++------ virt-exportserver-container.changes | 5 +++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index e804a15..1f9e389 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-exportserver container" -PREFIXEDLABEL org.opencontainers.image.description="HTTP server for the VirtualMachineExport resources" -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-exportserver:%%PKG_VERSION%%.%RELEASE%" +LABEL org.opencontainers.image.title="kubevirt virt-exportserver container" +LABEL org.opencontainers.image.description="HTTP server for the VirtualMachineExport resources" +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-exportserver:%%PKG_VERSION%%.%RELEASE%" +# endlabelprefix RUN zypper -n install kubevirt-virt-exportserver shadow tar && \ zypper clean -a && \ diff --git a/virt-exportserver-container.changes b/virt-exportserver-container.changes index a98ed57..b6c33c5 100644 --- a/virt-exportserver-container.changes +++ b/virt-exportserver-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 4 07:26:59 UTC 2022 - Vasily Ulyanov + +- Use standard LABEL directive to add mandatory labels + ------------------------------------------------------------------- Thu Jul 21 12:34:40 UTC 2022 - Vasily Ulyanov