Feat(wrapper): add GITLAB_PRE_RECONFIGURE_SCRIPT
What does this MR do?
If the env variable GITLAB_PRE_RECONFIGURE_SCRIPT
is set, we will eval it in /assets/wrapper
This will be useful for run a few minor commands specific to my environment before starting the services. This would permit users to inject customization before the initial reconfiguration. For example change sshd port when running gitlab in network_mode=host
without mounting /assets/sshd_config
This is same as GITLAB_POST_RECONFIGURE_SCRIPT
(same code) but before reconfigure and starting services.
Resolve:
Edited by ErgoZ