bcgov / cap-eagle-public

CAP fork of eagle-public
Apache License 2.0
0 stars 3 forks source link

split chmod on dockerfile #16

Closed murpheux closed 4 years ago

daveram commented 4 years ago

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