The immediate shutdown is coming from the set -e flag in the entrypoint. I'm not sure what the problem with the develspace setup script is, but it happens on both the docker image you sent and the main workspace I'm using for my projects, so the error seems to be pretty pervasive. If someone knows how to error trace a bash script that would be helpful for debugging further, but you can get started by removing the set -e.