Skip to content

set workdir to root earlier in image build process#687

Closed
dansola wants to merge 1 commit intomainfrom
daniel/add-workdir-early
Closed

set workdir to root earlier in image build process#687
dansola wants to merge 1 commit intomainfrom
daniel/add-workdir-early

Conversation

@dansola
Copy link
Contributor

@dansola dansola commented Feb 18, 2026

When get_uv_editable_install_mounts runs, it will add the target mount like so target={editable_dep.relative_to(project_root)}. If we set the WORKDIR in the footer, the wrong project_root is used as it's assumed to be /. This breaks the use or relative paths for editable installs like

[tool.uv.sources]
flyte-env = { path = "../flyte-env", editable = true }

@dansola dansola requested a review from pingsutw February 18, 2026 23:08
@pingsutw
Copy link
Member

pingsutw commented Mar 4, 2026

fixed it here #719

@pingsutw pingsutw closed this Mar 4, 2026
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.

2 participants