From 541c2ef31d93724c32bab8f0ff786b843a6fef8625d9a74d61509e7490cee234 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 20 Apr 2021 08:11:10 +0000 Subject: [PATCH] Accepting request 886475 from home:vulyanov:branches:Virtualization - Run zypper clean after installation OBS-URL: https://build.opensuse.org/request/show/886475 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-operator-container?expand=0&rev=7 --- Dockerfile | 6 ++---- virt-operator-container.changes | 5 +++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e6b6dc..6e5ec67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,8 @@ PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" PREFIXEDLABEL org.opensuse.reference="%%TAGPREFIX%%/virt-operator:%%PKG_VERSION%%.%RELEASE%" -RUN zypper update -y && \ - zypper install -y \ - kubevirt-virt-operator \ - shadow && \ +RUN zypper -n install kubevirt-virt-operator shadow && \ + zypper clean -a && \ useradd --system --no-create-home -u 1001 virt-operator USER 1001 ENTRYPOINT [ "/usr/bin/virt-operator" ] diff --git a/virt-operator-container.changes b/virt-operator-container.changes index c470d36..8c92f0b 100644 --- a/virt-operator-container.changes +++ b/virt-operator-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 18 08:00:09 UTC 2021 - Vasily Ulyanov + +- Run zypper clean after installation + ------------------------------------------------------------------- Wed Mar 17 07:11:30 UTC 2021 - Vasily Ulyanov