This is due to builds failing on the chmod step, seems to be a difference with CRI-O which is the new container engine in OpenShift 4
There's a folder at /run/secrets that can't have it's permissions modified, so we've made it so that chmod runs recursively elsewhere and just sets /run as writable so the nginx.pid can be written properly
We also tested this build on OpenShift 3.11 and everything works fine, so it's a backwards compatible change
This is due to builds failing on the chmod step, seems to be a difference with CRI-O which is the new container engine in OpenShift 4
There's a folder at /run/secrets that can't have it's permissions modified, so we've made it so that chmod runs recursively elsewhere and just sets /run as writable so the nginx.pid can be written properly
We also tested this build on OpenShift 3.11 and everything works fine, so it's a backwards compatible change