5 if [ "$(id -u)" != 0 ] && sudo --preserve-env --non-interactive true; then
6 echo >&2 "sudo already configured"
10 useradd --user-group build
12 echo 'build ALL=(ALL) NOPASSWD: ALL' >/etc/sudoers.d/build
13 chmod 440 /etc/sudoers.d/build
16 if [ -n "${HOST:-}" ]; then
17 update-binfmts --enable