OpenSUSE Tumbleweed Docker image fails to build
Due to recent changes in Tumbleweed, the Docker image now fails to build:
(44/66) Installing: libpython3_8-1_0-3.8.7-2.1.x86_64 [............done]
(45/66) Installing: shadow-4.8.1-5.2.x86_64 [............done]
(46/66) Installing: python38-3.8.7-2.1.x86_64 [........done]
(47/66) Installing: sysuser-shadow-3.0-10.1.noarch [....done]
(48/66) Installing: python38-curses-3.8.7-2.1.x86_64 [..........done]
(49/66) Installing: dbus-1-1.12.20-3.2.x86_64 [..Installation of dbus-1-1.12.20-3.2.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: ERROR: neither useradd nor busybox found!
error: %prein(dbus-1-1.12.20-3.2.x86_64) scriptlet failed, exit status 1
error: dbus-1-1.12.20-3.2.x86_64: install failed
error]
Abort, retry, ignore? [a/r/i] (a): a
Warning: %posttrans scripts skipped while aborting:
pam-1.5.1-3.1.x86_64.rpm
shadow-4.8.1-5.2.x86_64.rpm
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
The command '/bin/sh -c zypper --non-interactive install dnf' returned a non-zero code: 8
The 'fix' is to use a up-to-date Docker as well as libseccomp library, IIUC. I tried updating Docker alone but that wasn't enough to fix it. See: https://bugzilla.opensuse.org/show_bug.cgi?id=1182451.
Edited by Maxim Cournoyer