fix(compose): run the dev interbox container as root#10
Merged
Conversation
interbox 1.4.1's image runs as non-root (uid 1000). The dev stack mounts this checkout at /workspace and keeps node_modules in a named volume — both root-owned — so bun install / the SDK-link step fail as uid 1000. Override the dev container to user 0:0; production stays non-root via the Helm chart's securityContext. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
user: "0:0"to theinterboxservice in the dev compose.Why
interbox 1.4.1 runs the image as non-root (uid 1000). The dev stack mounts this checkout at
/workspaceand keepsnode_modulesin a named volume — both root-owned — sobun install/ the SDK-link step fail withEACCESas uid 1000. Running the dev container as root restores writable bind/volume access.Production stays non-root via the Helm chart's
securityContext— this override is dev-only convenience.Testing
docker compose configvalid.Follows interbox 1.4.1 (non-root image).
🤖 Generated with Claude Code