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 3d3e0a5 commit 125f797
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 @@ -42,7 +42,7 @@ ARG USER_UID=10000

RUN adduser -u $USER_UID -D $USERNAME

USER $USERNAME
USER $USER_UID

WORKDIR /

Expand Down

0 comments on commit 125f797

Please sign in to comment.