Skip to content

Fix: run SF CI/CD job containers as root - #8

Merged
gambe94 merged 1 commit into
mainfrom
fix/container-user-root
Jul 12, 2026
Merged

Fix: run SF CI/CD job containers as root#8
gambe94 merged 1 commit into
mainfrom
fix/container-user-root

Conversation

@gambe94

@gambe94 gambe94 commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Non-root container images (e.g. sf-devcontainer's vscode user) fail at the first step with EACCES: permission denied on /__w/_temp/_runner_file_commands/… because the runner-mounted dirs are owned by the host runner user. Adds options: --user root to all four job-container blocks in sf-pr-validate.yml / sf-release.yml — matching sf-ci's default root user and the standard Actions job-container pattern.

Found on the first live run of sfdx_template_enterprise PR #5.

🤖 Generated with Claude Code

…on runner file commands)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gambe94
gambe94 merged commit 85d1533 into main Jul 12, 2026
1 check passed
@gambe94
gambe94 deleted the fix/container-user-root branch July 12, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant