Make sudo commands in standalone-entrypoint.sh conditional to sudo existing
The sudo
commands in entrypoint-standalone.sh make the container exit when using them with apptainer/singularity (set -e
and sudo: not found
)
Those commands are needed only to make mkedanlzr
work, not otherwise. They could be made optional so that this part is skipped for rootless envs.