Skip to content

Commit

Permalink
runscript.sh
Browse files Browse the repository at this point in the history
Added line 24 to create the group prior to the user to effectively set PUID and PGID correctly inside container.  Thanks satlydk!
  • Loading branch information
nachobel authored Jun 1, 2024
1 parent f300ce9 commit f83d508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if ! id -u "${PUID}" &>/dev/null; then
group_id="${PGID}"
fi

addgroup --gid "${group_id}" "${user_name}"

adduser \
--uid "${user_id}" \
"${user_name}" \
Expand Down

0 comments on commit f83d508

Please sign in to comment.