Complication with Entrypoint in Base Image
When the CI Image (also known as "Base Image) has an entry point -- this is warranted if you want to use the base image of your later deployed stack -- then, the following command passed to the image might fail, if the entrypoint is not specially designed to handle it.
sh -c if [ -x /usr/local/bin/bash ]; then exec /usr/local/bin/bash elif [ -x /usr/bin/bash ]; then exec /usr/bin/bash elif [ -x /bin/bash ]; then exec /bin/bash elif [ -x /usr/local/bin/sh ]; then exec /usr/local/bin/sh elif [ -x /usr/bin/sh ]; then exec /usr/bin/sh elif [ -x /bin/sh ]; then exec /bin/sh else echo shell not found exit 1fi
Observed on container runner-26d4b7c1-project-745826-concurrent-0-build
I hope knowledgeable people can relate this easily to the corresponding piece of code.
I suggest simply overwriting the entrypoint for the CI steps.