fix: change /var/cache permissions to mode 775
On OpenShift/OKD, the master pod runs as an ephemeral user with GID 0.
This patch changes the permissions so it can write to /var/cache.
@@ -16,6 +16,7 @@ COPY build /usr/share/determined/master
COPY static /usr/share/determined/master/static
COPY determined-gotmpl /usr/bin/determined-gotmpl
COPY determined-master /usr/bin/determined-master
+RUN chmod 775 /var/cache # for OpenShift/OKD compatibility
EXPOSE 8080
ENTRYPOINT ["/usr/bin/determined-master"]
