mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
The fedora minimal 39 image has been updated on the fedora registry and removed the `useradd` binary. Since we were pulling by tag and not by digest, updates to images outside of our control always entail a certain risk - and now it bit us. To fix it, try to move as many users of `useradd` to _our_ CITEST_IMAGE and migrate the code where necessary to this Alpine-based tooling. However, the Alpine-based `adduser` binary (not useradd!) doesn't work well when being executed as a non-root user and will just error out. Hence, move the fedora minimal image back to version 34 which is still including the `useradd` binary. Ultimately, all images on public registries should be pulled via digest to make sure we pin them down. I refrain from doing this now to make sure we can cherry-pick this PR to older branches and get things back into a working state ASAP. Fixes: #20119 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
23 KiB
23 KiB