I have a singularity image and convert the sig file to a sandbox format. After changing some scripts, a modified new sig file was rebuilt with a sandbox. But when I run the sandbox or sig image, error report like below:
ERROR: No valid /bin/sh in container
ABORT : Retval = 255
command line
singularity build --sandbox test_sandbox/ test.sig
singularity shell test_sandbox
/bin/sh exactly do not exist in test_sandbox. Why the /bin folder is empty when build sandbox from sig file?