Accepting request 886472 from home:vulyanov:branches:Virtualization

- Run zypper clean after installation

OBS-URL: https://build.opensuse.org/request/show/886472
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-controller-container?expand=0&rev=6
This commit is contained in:
Vasily Ulyanov 2021-04-26 17:14:04 +00:00 committed by Git OBS Bridge
parent 6a15bef470
commit 18a8cb4d00
2 changed files with 7 additions and 4 deletions

View File

@ -16,10 +16,8 @@ PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="%%TAGPREFIX%%/virt-controller:%%PKG_VERSION%%.%RELEASE%"
RUN zypper update -y && \
zypper install -y \
kubevirt-virt-controller \
shadow && \
RUN zypper -n install kubevirt-virt-controller shadow && \
zypper clean -a && \
useradd -u 1001 --create-home -s /bin/bash virt-controller
USER 1001
ENTRYPOINT [ "/usr/bin/virt-controller" ]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 18 07:51:49 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Run zypper clean after installation
-------------------------------------------------------------------
Wed Mar 17 07:02:24 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>