mirror of
https://github.com/trailofbits/claude-code-devcontainer
synced 2026-06-21 14:11:48 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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)" -- \
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user