Standard_init_linux.go:175 exec user process caused no such file

I had #!/bin/bash at the top of my entrypoint script and got this error. Changing it to #!/bin/sh fixed it for me.