Config in ENTRYPOINT script


Would it be safe to prompt for configuration parameters in the entrypoint script? is this encouraged?
At the moment I can’t find a way to read parameters using a shell command. But I would like to know if this is possible before I invest more time into this.