datawire / forge

Define and run multi-container apps in Kubernetes
http://forge.sh
Apache License 2.0
415 stars 43 forks source link

Runtime arguments? #233

Open eserdyuk-exos opened 4 years ago

eserdyuk-exos commented 4 years ago

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.