Skip to content

Feature ocp api build

Ilkka Tengvall requested to merge feature-ocp-api-build into master

This change modifies a bit the entrypoint.sh. Change does not affect the normal workflow, it only enables this to work in OpenShift.

  1. 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.

  2. 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.

Merge request reports