Skip to content

fix(uv-env): copy project to writable dir before install in container #857

Open
jinbai340997 wants to merge 1 commit intoalibaba:masterfrom
jinbai340997:feature/fix-uv-env
Open

fix(uv-env): copy project to writable dir before install in container #857
jinbai340997 wants to merge 1 commit intoalibaba:masterfrom
jinbai340997:feature/fix-uv-env

Conversation

@jinbai340997
Copy link
Copy Markdown
Collaborator

@jinbai340997 jinbai340997 commented Apr 20, 2026

The UvRuntimeEnv mounts the host project directory as read-only (:ro)
into the container. However, setuptools requires writing egg-info
metadata to the source directory during uv pip install, which fails
on a read-only filesystem. Fix by copying the project to a writable
temporary directory (/tmp/rock-build) before running the install.
Also add .rayignore to exclude .venv, .git, pycache and other
non-essential files from Ray working_dir uploads. Fixes #856

@jinbai340997 jinbai340997 changed the title Fixes #856 (fix uv-env): copy project to writable dir before install in container fix(uv-env): copy project to writable dir before install in container Apr 20, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] UvRuntimeEnv container build fails due to read-only volume mount

2 participants