feat: add path key in config for ro mount of binaries and adding them to PATH env

This commit is contained in:
2026-03-22 17:00:20 +00:00
parent 5db731a55e
commit de536cddc1
11 changed files with 148 additions and 61 deletions
+2 -2
View File
@@ -357,7 +357,7 @@ while [ "$#" -gt 0 ]; do
--ro-bind|--bind|--setenv)
shift 3
;;
--tmpfs|--chdir)
--tmpfs|--chdir|--dir)
shift 2
;;
--dev|--proc)
@@ -444,5 +444,5 @@ func MustGitInit(t *testing.T, dir string) {
}
func validConfigContent(testDir string) string {
return "[mire]\ntest_dir = \"" + testDir + "\"\n\n[sandbox]\nhome = \"/home/test\"\nmounts = []\n"
return "[mire]\ntest_dir = \"" + testDir + "\"\n\n[sandbox]\nhome = \"/home/test\"\nmounts = []\npaths = []\n"
}