remove rw access to bun cache in nsjail mode

This commit is contained in:
Ruben Fiszel
2025-02-05 21:45:37 +01:00
parent b5809b4f0d
commit 02808df5fb
2 changed files with 0 additions and 9 deletions
@@ -156,14 +156,6 @@ mount {
iface_no_lo: true
mount {
src: "{CACHE_DIR}"
dst: "/tmp/windmill/cache_nomount/bun"
is_bind: true
mandatory: false
rw: true
}
{SHARED_MOUNT}
envar: "HOME=/tmp/{LANG}"
@@ -1360,7 +1360,6 @@ try {{
&NSJAIL_CONFIG_RUN_BUN_CONTENT
.replace("{LANG}", if annotation.nodejs { "nodejs" } else { "bun" })
.replace("{JOB_DIR}", job_dir)
.replace("{CACHE_DIR}", BUN_CACHE_DIR)
.replace("{CLONE_NEWUSER}", &(!*DISABLE_NUSER).to_string())
.replace(
"{SHARED_MOUNT}",