mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-06 00:02:30 +00:00
removing rw access to cache dir in uv pip install
This commit is contained in:
@@ -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()),
|
||||
)?;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user