1
0

Accepting request 845459 from home:jzerebecki:branches:Virtualization

- remove require on libnettle6 as I don't see what whould need it and it is
  only a library which should be pulled in by anything that needs it
- link genisoimage to mkisofs, as we don't have cdrkit packaged right now
- replace sle with opensuse

OBS-URL: https://build.opensuse.org/request/show/845459
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-launcher-container?expand=0&rev=2
This commit is contained in:
James Fehlig 2020-11-02 15:10:09 +00:00 committed by Git OBS Bridge
parent 3cf1f9f8aa
commit 99a5ba61ee

View File

@ -1,22 +1,21 @@
# Define the tags for OBS and build script builds:
#!BuildTag: suse/sles/15.2/virt-launcher:%%PKG_VERSION%%
#!BuildTag: suse/sles/15.2/virt-launcher:%%PKG_VERSION%%.%RELEASE%
#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%
#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE%
# virt-launcher container image
FROM opensuse/tumbleweed
# labelprefix=com.suse.kubevirt
# labelprefix=org.opensuse.kubevirt
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="suse/sles/15.2/virt-launcher:%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.opensuse.reference="opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE%"
RUN zypper update -y && \
zypper install -y \
libnettle6 \
socat \
socat \
qemu-x86 \
qemu-tools \
libcap-progs \
@ -37,5 +36,6 @@ COPY augconf /augconf
RUN augtool -f /augconf
RUN cd /var && rm -rf run && ln -s ../run .
RUN ln -s /usr/bin/mkisofs /usr/bin/genisoimage
ENTRYPOINT [ "/usr/bin/virt-launcher" ]