We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a15c35 + b56357a commit b1a3670Copy full SHA for b1a3670
1 file changed
Dockerfile
@@ -81,7 +81,8 @@ RUN ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server
81
WORKDIR /usr/local/tomcat/bin
82
RUN chmod u+x redebug.sh undebug.sh custom_run.sh
83
84
-# We create a 'dspace' user to run DSpace instead of running as root
+# We create a 'dspace' user to run DSpace instead of running as root. An explicit UID is required
85
+# because Kubernetes deployment accepts only numeric user IDs when specifying the container user.
86
RUN useradd -u 1100 -m -s /bin/bash dspace \
87
&& chown -Rv dspace: /dspace /usr/local/tomcat
88
0 commit comments