Accepting request 966371 from home:vulyanov:branches:Virtualization:update

- Explicitly state the dependency on kubevirt main package

OBS-URL: https://build.opensuse.org/request/show/966371
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-libguestfs-tools-container?expand=0&rev=6
This commit is contained in:
Vasily Ulyanov 2022-04-01 09:14:25 +00:00 committed by Git OBS Bridge
parent 714e6c711d
commit 2691235e40
2 changed files with 13 additions and 0 deletions

View File

@ -17,6 +17,12 @@ PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/libguestfs-tools:%%PKG_VERSION%%.%RELEASE%"
# Note: the trick with install/remove kubevirt-manifests is needed to ensure
# that OBS triggers the rebuild of the container whenever the main kubevirt
# package is updated. Even though there is no direct dependency on the RPM
# itself, we still need to add proper tags. Having a reference to the build
# service obs-service-kubevirt_containers_meta in the _service file apparently
# is not enough.
RUN zypper -n install \
bash \
btrfsprogs \
@ -29,6 +35,7 @@ RUN zypper -n install \
guestfs-winsupport \
jfsutils \
kernel-kvmsmall \
kubevirt-manifests \
ldmtool \
libguestfs \
libguestfs-devel \
@ -41,6 +48,7 @@ RUN zypper -n install \
xfsprogs \
xorriso \
zerofree && \
zypper -n remove kubevirt-manifests && \
zypper clean -a
COPY entrypoint.sh /entrypoint.sh

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 1 07:53:00 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Explicitly state the dependency on kubevirt main package
-------------------------------------------------------------------
Sun Mar 6 16:53:51 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>