You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "kinow (via GitHub)" <gi...@apache.org> on 2023/06/01 19:05:11 UTC
[GitHub] [jena] kinow commented on a diff in pull request #1890: [GH-1889] Use arguments for uid and gid, add group and user, re-work order of commands to make dirs and change ownership
kinow commented on code in PR #1890:
URL: https://github.com/apache/jena/pull/1890#discussion_r1213563465
##########
jena-fuseki2/jena-fuseki-docker/Dockerfile:
##########
@@ -89,18 +83,32 @@ ARG FUSEKI_JAR
COPY --from=base /opt/java-minimal /opt/java-minimal
COPY --from=base /fuseki /fuseki
-COPY --from=base /etc/passwd /etc/passwd
WORKDIR $FUSEKI_DIR
ARG LOGS=${FUSEKI_DIR}/logs
ARG DATA=${FUSEKI_DIR}/databases
+ARG JENA_USER=fuseki
+ARG JENA_GROUP=$JENA_USER
+ARG JENA_GID=1000
+ARG JENA_UID=1000
+
+# Run as this user
+# -H : no home directorry
Review Comment:
Will push force just to fix this (copied) typo (s/directorry/directory), then merge :+1:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org