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 bba8a5f commit bf901d4
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 @@ -27,7 +27,7 @@ ARG USER_UID=10000

RUN adduser -u $USER_UID -D $USERNAME

USER $USERNAME
USER $USER_UID

WORKDIR /

Expand Down

0 comments on commit bf901d4

Please sign in to comment.