remove go cache

This commit is contained in:
Ruben Fiszel
2025-02-06 17:41:47 +01:00
parent 48e4ae6561
commit de1e1563ed
2 changed files with 0 additions and 9 deletions
@@ -96,14 +96,6 @@ mount {
iface_no_lo: true
mount {
src: "{CACHE_DIR}"
dst: "/tmp/.cache/go"
is_bind: true
rw: true
mandatory: false
}
{SHARED_MOUNT}
envar: "GOPATH=/tmp/.cache/go"
@@ -259,7 +259,6 @@ func Run(req Req) (interface{{}}, error){{
"run.config.proto",
&NSJAIL_CONFIG_RUN_GO_CONTENT
.replace("{JOB_DIR}", job_dir)
.replace("{CACHE_DIR}", GO_CACHE_DIR)
.replace("{CLONE_NEWUSER}", &(!*DISABLE_NUSER).to_string())
.replace("{SHARED_MOUNT}", shared_mount),
)?;