From b5b3dcf6b39e867db738292b220625d2faf81c79 Mon Sep 17 00:00:00 2001 From: Dan Guido Date: Wed, 21 Jan 2026 00:13:50 -0500 Subject: [PATCH] Replace Python devcontainer feature with uv-managed Python Switch from ghcr.io/devcontainers/features/python:1 (compiles from source, slow) to uv python install 3.13 --default (binary download, fast). Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 4 ++++ devcontainer.json | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index be993ae..9f08028 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,10 @@ USER vscode # Install Claude Code natively RUN curl -fsSL https://claude.ai/install.sh | bash +# Install Python 3.13 via uv (fast binary download, not source compilation) +RUN uv python install 3.13 --default +ENV PATH="/home/vscode/.local/bin:$PATH" + # Install Oh My Zsh ARG ZSH_IN_DOCKER_VERSION=1.2.1 RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v${ZSH_IN_DOCKER_VERSION}/zsh-in-docker.sh)" -- \ diff --git a/devcontainer.json b/devcontainer.json index 014d734..b8aa4bc 100644 --- a/devcontainer.json +++ b/devcontainer.json @@ -10,9 +10,6 @@ } }, "features": { - "ghcr.io/devcontainers/features/python:1": { - "version": "3.13" - }, "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/node:1": { "version": "22"