Category "docker-entrypoint"

Access env variables inside docker entrypoint script

I want to pass environment variables in my docker run command and access them in my entrypoint shell script. This is my super simple Dockerfile for test purpose

Add shell or bash to a docker image (Distroless based on Debian GNU/Linux)

I want add shell or bash to my image to execute installation command. I have copied the /bin/bash on my VM on to my image on Dockerfile: COPY /bin/bash /bin/