Skip to content

Commit

Permalink
refa: reference user by UID instead of name
Browse files Browse the repository at this point in the history
this enables runAsNonRoot for Kubernetes without specifying a user
  • Loading branch information
joshiste committed Dec 5, 2024
1 parent 56abfde commit 0e1c023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ARG USER_UID=10000

RUN adduser -u $USER_UID -D $USERNAME

USER $USERNAME
USER $USER_UID

WORKDIR /

Expand Down

0 comments on commit 0e1c023

Please sign in to comment.