fix(web-dev): web dev container crash-loops on bun permissions (BUNYIP-37) #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bunyip-37-web-dev-bun"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fixes BUNYIP-37: the bunyip-web dev container crash-looped with
sh: 1: bun: Permission deniedbecause the base image's/usr/local/bin/bunis a symlink into/root/.bun, which the non-root host user (governance requirement) cannot traverse.Change
One Dockerfile fix in the dev image: replace the symlink with a real copy of the bun binary, and add a
bunxsymlink beside it (package.json scripts callbunx, which the base image only provides inside/root/.bun).Verification (clean slate)
Removed the web container and the node_modules volume, rebuilt with
just dev-detach:assets/styles.cssbuilt and served (66 KB)Notes
The long-term fix is in the base image (ghcr.io/niceguyit/rust-builder-glibc should install bun world-readable); this unblocks bunyip dev (and BUNYIP-34) without waiting for that.