Skip to content

Replace conda with uv in dstackai/base images #2649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025

Conversation

un-def
Copy link
Collaborator

@un-def un-def commented May 16, 2025

Closes: #2625

@un-def un-def requested review from r4victor and jvstme May 16, 2025 11:53
/opt/conda/condabin/conda clean --all && \
echo "conda activate workflow" >> ~/.bashrc
RUN curl -LsSf https://astral.sh/uv/install.sh | INSTALLER_NO_MODIFY_PATH=1 sh && \
uv python install --preview --default
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does --preview do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ uv python install 3.10 --default
The `--default` flag is only available in preview mode; add the `--preview` flag to use `--default`

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://docs.astral.sh/uv/reference/settings/#preview

Whether to enable experimental, preview features.

@un-def un-def merged commit 4b15d69 into master May 16, 2025
25 of 34 checks passed
@un-def un-def deleted the issue_2625_docker_base_uv branch May 16, 2025 13:09
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.

[UX]: Replace conda with uv in dstack's default Docker image
2 participants