try sudo

1 job for master in 18 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #268463
build

00:00:18

 
Name Stage Failure
failed
build Test
Using docker image sha256:aac71b9b9e191b4a4078be065934f06aeded0edeed92b4d0a0866746d30dbd48 for singularityware/singularity:gitlab-3.1-slim with digest singularityware/singularity@sha256:d276d4af67e0d72357cc46566f14bdf27e959b721242901133a21b7151267de6 ...
$ /bin/bash .gitlabci/build.sh Singularity

Image Recipe: Singularity
Storage Client: none
Creating Singularity.sif using Singularity...
.gitlabci/build.sh: line 135: sudo: command not found
Cleaning up file based variables
ERROR: Job failed: exit code 1