Feature ocp api build
This change modifies a bit the entrypoint.sh. Change does not affect the normal workflow, it only enables this to work in OpenShift.
-
It gives option to bypass uwsgi plugin option. It's not needed when installing uwsgi from pip. If one wants to skip the parameter, container is run with variable set empty, e.g. UWSGIPLUGINLINE=' '. Default behavior is to work as previously.
-
Usernames are random in OpenShift. I changed the hardcoded user names to dynamically taken from runtime.
I tested this on my laptop, it works. This also now builds in OpenShift.
The ugly commits will be squashed at merge.