1
0

Update jump-box/startup.bash
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2026-09-25 17:21:35 +00:00
parent 831f930dfb
commit 9e88b9ecfc

View File

@@ -2,7 +2,9 @@
echo "Setting up target user ${TARGET_USER} (uid=${TARGET_UID}, gid=${TARGET_GID})..."
groupadd --gid "$TARGET_GID" "$TARGET_USER"
adduser --gid "$TARGET_GID" --uid "$TARGET_UID" "$TARGET_USER"
# --no-create-home since we assume the home dir will be mounted in the container
adduser --gid "$TARGET_GID" --uid "$TARGET_UID" --no-create-home "$TARGET_USER"
chown "$TARGET_USER":"$TARGET_USER" /var/log/container-stdout.log
echo "Ready."