Hey Martin,
setenv I don't think is a command you would find in ubuntu, I believe it's csh (cshell). I think you would want to export the variable instead, eg:
SHELL=/bin/bash
export SHELL
however in this case, Singularity has a more flexible way of specifying the shell (let's say that a future user of the container doesn't want a hard coded shell!) you can specify the shell with --shell or with SINGULARITY_SHELL, eg:
singularity shell --shell /bin/bash container.img
SINGULARITY_SHELL=/bin/bash singularity shell container.img
and note that if you are using a (much) older image, you would just do:
SHELL=/bin/bash singularity shell container.img
Give those a try and see if you can get the functionality you want!
Best,
Vanessa