Skip to content

Commit 0c4f7c1

Browse files
committed
debug
1 parent bd5ad7a commit 0c4f7c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/docker/run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,13 @@ else
281281
# Rootless podman creates a separate user namespace, where an inner
282282
# LOCAL_USER_ID will map to a different subuid range on the host.
283283
# The "keep-id" mode maps the current UID directly into the container.
284+
echo "Running in rootless podman"
284285
args="$args --env NO_CHANGE_USER=1 --userns=keep-id"
285286
elif [[ "$id" != 0 ]]; then
287+
echo "Running in docker as non-root"
286288
args="$args --env LOCAL_USER_ID=$id"
287289
else
290+
echo "Running in docker as root. Using id 1001."
288291
# If we're running as root, we don't want to run the container as root,
289292
# so we set id `1001` instead of `0`.
290293
args="$args --env LOCAL_USER_ID=1001"

0 commit comments

Comments
 (0)