astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
25.42k stars 739 forks source link

Request: Official uv devcontainer #8737

Open rdong8 opened 6 days ago

rdong8 commented 6 days ago

Would be really cool if we could get an official uv devcontainer for remote development using common IDEs (VS Code, PyCharm). It isn't too difficult to install uv in the Dockerfile by hand but an official option would be great. Currently the Python devcontainers are published version-by-version, so we don't have access to 3.13 yet.

wstrausser commented 5 days ago

Agreed that this would be great to have. For now, I've just been using the following Dockerfile for uv-based devcontainers:

FROM mcr.microsoft.com/devcontainers/base:bullseye

USER vscode
RUN curl -LsSf https://astral.sh/uv/install.sh | sh