Skip to content

feat: copy bundled bwrap binary for sandbox support#243

Merged
mbabic84 merged 1 commit into
mainfrom
feat/add-bwrap-for-sandbox
Jul 9, 2026
Merged

feat: copy bundled bwrap binary for sandbox support#243
mbabic84 merged 1 commit into
mainfrom
feat/add-bwrap-for-sandbox

Conversation

@mbabic84

@mbabic84 mbabic84 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Copy the bundled Bubblewrap (bwrap) binary from the Kilo tarball into the runtime Docker image to enable Kilo's sandbox feature.

Problem

Kilo v7.4.0+ ships with a sandbox feature that uses Bubblewrap (bwrap) for filesystem and network isolation on Linux. The bwrap binary is bundled in the Kilo release tarball, but the Dockerfile only copies kilo, tree-sitter, and console — leaving bwrap behind. Without it, sandboxed file operations and network restrictions fail silently.

Solution

Add COPY --from=builder /tmp/bwrap /usr/local/bin/bwrap to the Dockerfile to include the bundled bwrap binary in the runtime image.

Changes

  • Dockerfile — Added COPY line for /tmp/bwrap from the builder stage to /usr/local/bin/bwrap in the runtime image

@mbabic84
mbabic84 merged commit 86a429f into main Jul 9, 2026
1 check passed
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 3.49.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@mbabic84
mbabic84 deleted the feat/add-bwrap-for-sandbox branch July 9, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant