Dockerfile: switch from sudo to doas

Doas a simpler replacement for sudo, which does everything we need. So
switch to doas.
1 job for !1 with switch-to-doas in 12 seconds
latest detached
Status Job ID Name Coverage
  Build
failed #415070
ci-docker-image riscv64
build-riscv64

00:00:12

 
Name Stage Failure
failed
build-riscv64 Build
No job log