In the booted 26.04 container, pam_unix's account check for sudo runs the unix_chkpwd helper, which fails there, so become from root fails with "account validation failure". /etc/pam.d/sudo now lets root through with pam_rootok before common-account; a non-root caller still goes through pam_unix. The build fails if the line does not apply. gnupg joins the image, as in the 24.04 image: the docker and gitea scenarios need it on the target. The temporary diagnostics are removed. Closes #376 Assisted-by: Claude Code