feat: extract pipeline core for library consumption (#282)
* feat: extract pipeline core for library consumption * fix: chmod workspace directory for container write access * fix: resolve playwright output dir relative to deliverables parent * feat: add multi-provider LLM support via ProviderConfig * fix: resolve model overrides via options.model, remove unused model env passthrough * fix: use ANTHROPIC_AUTH_TOKEN for custom base URL and router auth * fix: skip env-based credential validation when providerConfig is present * fix: support large UID/GID values for AD/LDAP users in container
This commit is contained in:
+4
-4
@@ -6,11 +6,11 @@ TARGET_GID="${SHANNON_HOST_GID:-}"
|
||||
CURRENT_UID=$(id -u pentest 2>/dev/null || echo "")
|
||||
|
||||
if [ -n "$TARGET_UID" ] && [ "$TARGET_UID" != "$CURRENT_UID" ]; then
|
||||
deluser pentest 2>/dev/null || true
|
||||
delgroup pentest 2>/dev/null || true
|
||||
userdel pentest 2>/dev/null || true
|
||||
groupdel pentest 2>/dev/null || true
|
||||
|
||||
addgroup -g "$TARGET_GID" pentest
|
||||
adduser -u "$TARGET_UID" -G pentest -s /bin/bash -D pentest
|
||||
groupadd -g "$TARGET_GID" pentest
|
||||
useradd -u "$TARGET_UID" -g pentest -s /bin/bash -M pentest
|
||||
|
||||
chown -R pentest:pentest /app/sessions /app/workspaces /tmp/.claude
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user