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