diff --git a/Dockerfile b/Dockerfile index 1af45a6..17fe3f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,12 +28,16 @@ LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-launcher:%%PKG_VER RUN zypper -n install \ augeas \ augeas-lenses \ + curl \ + ethtool \ + gawk \ iptables \ kubevirt-container-disk \ kubevirt-virt-launcher \ libcap-progs \ libvirt-client \ libvirt-daemon-driver-qemu \ + ncat \ nftables \ qemu-hw-usb-redirect \ qemu-tools \ @@ -57,6 +61,8 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \ RUN zypper clean -a +RUN ln -s ncat /usr/bin/nc + RUN mkdir -p /usr/share/OVMF #!ArchExclusiveLine: x86_64 @@ -86,6 +92,7 @@ RUN cd /var && rm -rf run && ln -s ../run . # Setup permissions and capabilities for non-root VMIs. KubeVirt sets # XDG_* directories to /var/run. RUN setcap 'cap_net_bind_service,cap_sys_ptrace=+ep' /usr/bin/virt-launcher && \ + setcap 'cap_net_bind_service=+ep' /usr/bin/qemu-system-$(uname -m) && \ chmod 0755 /etc/libvirt && \ chown qemu:qemu /var/run diff --git a/virt-launcher-container.changes b/virt-launcher-container.changes index f301048..0808a4c 100644 --- a/virt-launcher-container.changes +++ b/virt-launcher-container.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 21 08:26:09 UTC 2022 - Vasily Ulyanov + +- Allow qemu/slirp to bind sockets to privileged ports +- Install ncat, curl, ethtool and gawk (required for network tests) + ------------------------------------------------------------------- Mon Oct 10 13:49:10 UTC 2022 - Vasily Ulyanov