automation: use zypper dup in tumbleweed dockerfile

The 'dup' command aligns the installed packages with the packages
found in the enabled repositories, taking the repository priorities
into account. Using this command is generally a safe thing to do.

In the context of Tumbleweed using 'dup' is essential, because package
versions might be downgraded, and package names occasionally change.
Only 'dup' will do the correct thing in such cases.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Olaf Hering authored and Andrew Cooper committed 2021-07-09 13:28:52 +01:00
1 parent 6de3e5fce5
commit ea7f91ded5
1 file changed
+1 -1
@@ -7,7 +7,7 @@ ENV USER root
RUN mkdir /build
WORKDIR /build
RUN zypper ref && zypper up -y --no-recommends
RUN zypper ref && zypper dup -y --no-recommends
RUN zypper install -y --no-recommends \
acpica \
bc \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.