mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix(sandbox): pin neutral entrypoint and persist opencode upgrades across rebuilds
This commit is contained in:
1 parent
cadc283738
commit
f2d0ae0595
14 files changed
+339
-15
No files matched your search
@@ -61,6 +61,8 @@ All projects share one microVM named `ocm-workspace`:
|
||||
- Each command supplies its own working directory through `msb exec -w`.
|
||||
- A session outside the mounted roots is refused rather than executed on the host.
|
||||
- The Manager verifies the microVM image, resources, user, network policy, mounts (including the `/tmp` tmpfs size and mount options), labels, and secret mask before reuse.
|
||||
- MSB pulls the configured `SANDBOX_IMAGE` (default `node:24`) automatically; no custom image build is needed.
|
||||
- The Manager pins a neutral `/usr/bin/env` entrypoint, so the image's own OCI entrypoint is never inherited.
|
||||
- A stale or unverifiable microVM is removed and recreated.
|
||||
- Manager shutdown and an enforced-to-disabled restart stop the managed microVM.
|
||||
|
||||
|
||||
Reference in new issue
Block a user