Very useful util, however, I'm wondering if it's possible to pass arguments (or just set command/CMD) not for a build-time, but for a runtime?
I.e. I have an entrypoint.sh script that is an entrypoint for a docker container and it executes different logic according to the arguments passed to it.
Is it possible not to build several images, but to use only one with different arguments passed into it?
If not, maybe you could suggest how to do this using currently implemented stuff?
Hi guys!
Very useful util, however, I'm wondering if it's possible to pass arguments (or just set command/CMD) not for a build-time, but for a runtime? I.e. I have an
entrypoint.sh
script that is an entrypoint for a docker container and it executes different logic according to the arguments passed to it.Is it possible not to build several images, but to use only one with different arguments passed into it?
If not, maybe you could suggest how to do this using currently implemented stuff?
Thanks.