Running a script inside a docker container using shell script
I was searching an answer for this same question and found ENTRYPOINT in Dockerfile solution for me.
Dockerfile
...ENTRYPOINT /my-script.sh ; /my-script2.sh ; /bin/bash
Now the scripts are executed when I start the container and I get the bash prompt after the scripts has been executed.