beamer-testbed runs with local user's UID/GID

so that created files aren't owned by root
This commit is contained in:
Mike Dalessio
2025-10-22 14:28:44 -07:00
parent a01e2588d6
commit cd6ef14d00
5 changed files with 10 additions and 8 deletions
+4
View File
@@ -84,6 +84,10 @@ cmd_start() {
local fizzy_services=$(get_fizzy_services)
local first_fizzy=$(echo "$fizzy_services" | head -n 1)
# Set UID and GID for Docker user mapping
export DOCKER_UID=$(id -u)
export DOCKER_GID=$(id -g)
# Get GitHub token from gh CLI
echo "Getting GitHub token from gh CLI..."
export GITHUB_TOKEN=$(gh auth token)