Skip to content

Commit

Permalink
Always use numeric user id
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Mar 4, 2024
1 parent d6053b6 commit d0e4491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ ENV PATH=$PATH:$JAVA_HOME/bin:/pulsar/bin
# The UID must be non-zero. Otherwise, it is arbitrary. No logic should rely on its specific value.
ARG DEFAULT_USERNAME=pulsar
RUN adduser ${DEFAULT_USERNAME} -u 10000 -G root -D
USER ${DEFAULT_USERNAME}
USER 10000

0 comments on commit d0e4491

Please sign in to comment.