From e2171eb2ad1d5914a5327ca978f978b806cd20f2c998e30be7a8149a663ac110 Mon Sep 17 00:00:00 2001 From: Vasily Ulyanov Date: Fri, 5 Aug 2022 04:57:33 +0000 Subject: [PATCH] Accepting request 993179 from home:vulyanov:branches:Virtualization:tuning OBS-URL: https://build.opensuse.org/request/show/993179 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-launcher-container?expand=0&rev=27 --- Dockerfile | 15 +++++++++------ _constraints | 2 +- virt-launcher-container.changes | 5 +++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 50bc31c..08f2a8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,16 @@ FROM $KUBEVIRTFROM # since TARGETARCH is not defined in OBS builds yet. Default to amd64. ARG TARGETARCH=amd64 +# Mandatory labels for the build service: +# https://en.opensuse.org/Building_derived_containers # labelprefix=%%LABELPREFIX%% -PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-launcher container" -PREFIXEDLABEL org.opencontainers.image.description="Container to host VM processes 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-launcher:%%PKG_VERSION%%.%RELEASE%" +LABEL org.opencontainers.image.title="kubevirt virt-launcher container" +LABEL org.opencontainers.image.description="Container to host VM processes 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-launcher:%%PKG_VERSION%%.%RELEASE%" +# endlabelprefix RUN zypper -n install \ augeas \ diff --git a/_constraints b/_constraints index a6a4866..4988ecd 100644 --- a/_constraints +++ b/_constraints @@ -1,7 +1,7 @@ - 6 + 10 diff --git a/virt-launcher-container.changes b/virt-launcher-container.changes index 614e13b..c4a58e9 100644 --- a/virt-launcher-container.changes +++ b/virt-launcher-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 4 06:27:58 UTC 2022 - Vasily Ulyanov + +- Use standard LABEL directive to add mandatory labels + ------------------------------------------------------------------- Wed Apr 27 16:30:17 UTC 2022 - Vasily Ulyanov