Skip to content

Commit

Permalink
update user creation for alpine images
Browse files Browse the repository at this point in the history
floryn90 committed Jan 11, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 7dc6b3a commit 7906257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker/_imports/default_nonroot_user_alpine.df
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
RUN getent group hugo 2>&1 > /dev/null || addgroup -g 1234 hugo \
&& getent passwd hugo 2>&1 > /dev/null || adduser -u 1234 -D -H -G hugo -g "" hugo
&& getent passwd hugo 2>&1 > /dev/null || adduser -u 1234 -D -h /home/hugo -G hugo -g "" hugo

0 comments on commit 7906257

Please sign in to comment.