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 018da81 commit 0b739af
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 @@ -31,7 +31,7 @@ ARG USER_UID=10000

RUN adduser -u $USER_UID -D $USERNAME

USER $USERNAME
USER $USER_UID

WORKDIR /

Expand Down

0 comments on commit 0b739af

Please sign in to comment.