Just tried modifying my Docker images to link /bin/sh to /bin/bash, per that posting, and that did not fix the problem.
These are bookworm-based images that are not working.
I looked and the GitLab version we are running seems quite up-to-date, so I'm not sure what is wrong.