Pass through CA certs, caches, home dirs; document dash run -- <cmd> #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lain/dash-run-passthrough-sandbox-20261102084037"
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?
Adds three features to dash, in one MR:
pass_node_extra_ca_certs: false.~/.cache/go-build,~/.npm) mounted read-write at the same path when they exist.$HOME(e.g.~/.cursor) mounted read-write when present. Kept separate fromcacheson purpose.dash run -- <cmd>: documented; flags after--reach the command; an empty command after--is rejected.Missing paths are skipped so one config works on every machine. Relative paths in
caches/home_dirsare an error.Tests: unit tests for each feature in
internal/sandboxandinternal/cli;gofmt,go vet ./...,go vet -tags e2e ./e2e/andgo test ./...pass. Dry-run output checked for the mount/env cases. The e2e suite was not run here (no built image; limited disk on this host).