removing rw access to cache dir in uv pip install

This commit is contained in:
Ruben Fiszel
2025-02-05 22:06:52 +01:00
parent 02808df5fb
commit 908e6abee6
2 changed files with 0 additions and 14 deletions
@@ -74,12 +74,6 @@ mount {
is_bind: true
}
mount {
src: "{CACHE_DIR}"
dst: "{CACHE_DIR}"
is_bind: true
rw: true
}
mount {
src: "{PY_INSTALL_DIR}"
dst: "{PY_INSTALL_DIR}"
@@ -1936,14 +1936,6 @@ pub async fn handle_python_reqs(
})
.replace("{WORKER_DIR}", &worker_dir)
.replace("{PY_INSTALL_DIR}", &PY_INSTALL_DIR)
.replace(
"{CACHE_DIR}",
&(if no_uv_install {
PIP_CACHE_DIR.to_owned()
} else {
py_version.to_cache_dir()
}),
)
.replace("{CLONE_NEWUSER}", &(!*DISABLE_NUSER).to_string()),
)?;
};