Skip to content

fix(compose): run the dev interbox container as root#10

Merged
ipasechnikov merged 1 commit into
mainfrom
dev-compose-nonroot
Jul 7, 2026
Merged

fix(compose): run the dev interbox container as root#10
ipasechnikov merged 1 commit into
mainfrom
dev-compose-nonroot

Conversation

@ipasechnikov

Copy link
Copy Markdown
Collaborator

What

Add user: "0:0" to the interbox service in the dev compose.

Why

interbox 1.4.1 runs the image 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 with EACCES as 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 config valid.

Follows interbox 1.4.1 (non-root image).
🤖 Generated with Claude Code

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>
@ipasechnikov ipasechnikov merged commit 88ad969 into main Jul 7, 2026
2 checks passed
@ipasechnikov ipasechnikov deleted the dev-compose-nonroot branch July 7, 2026 14:16
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