From 065ea4bfb8672eddd762a993f17aa5395691f2e421a3e891a752b8293043235a Mon Sep 17 00:00:00 2001 From: Vasily Ulyanov Date: Tue, 18 Jul 2023 12:29:08 +0000 Subject: [PATCH] Accepting request 1099269 from home:vulyanov:branches:Virtualization - Switch to qemu user (107) OBS-URL: https://build.opensuse.org/request/show/1099269 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-exportserver-container?expand=0&rev=5 --- Dockerfile | 11 +++++++---- virt-exportserver-container.changes | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f9e389..30ead82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,11 @@ 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 && \ - useradd -u 1001 --create-home -s /bin/bash virt-exportserver -USER 1001 +RUN zypper -n install \ + kubevirt-virt-exportserver \ + system-user-qemu \ + tar && \ + zypper clean -a + +USER 107 ENTRYPOINT [ "/usr/bin/virt-exportserver" ] diff --git a/virt-exportserver-container.changes b/virt-exportserver-container.changes index b6c33c5..756b97b 100644 --- a/virt-exportserver-container.changes +++ b/virt-exportserver-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 17 08:21:09 UTC 2023 - Vasily Ulyanov + +- Switch to qemu user (107) + ------------------------------------------------------------------- Thu Aug 4 07:26:59 UTC 2022 - Vasily Ulyanov