Skip to content

Commit b1a3670

Browse files
authored
Merge pull request #1173 from dataquest-dev/clarify-explicit-UID
Update comment for 'dspace' user creation in Dockerfile
2 parents 6a15c35 + b56357a commit b1a3670

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ RUN ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server
8181
WORKDIR /usr/local/tomcat/bin
8282
RUN chmod u+x redebug.sh undebug.sh custom_run.sh
8383

84-
# We create a 'dspace' user to run DSpace instead of running as root
84+
# 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.
8586
RUN useradd -u 1100 -m -s /bin/bash dspace \
8687
&& chown -Rv dspace: /dspace /usr/local/tomcat
8788

0 commit comments

Comments
 (0)