Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ docker compose up
### VS Code Devcontainer

Open the project in VS Code and use the "Reopen in Container" command for a fully configured development environment.
Devcontainer will automatically install uv, Claude Code, and git hooks. The image build installs the latest
Codex release, so rebuilding the image updates Codex.
Devcontainer will automatically install uv, Claude Code, Codex, and git hooks. The image build installs the
latest Claude Code and Codex releases with their official installers, so rebuilding the image updates both.

The container mounts the host `${HOME}/.claude` and `${HOME}/.codex` directories at `/home/vscode/.claude` and
`/home/vscode/.codex` for authentication. These bind mounts are read-write, so changes made in the container can
Expand Down
7 changes: 7 additions & 0 deletions template/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
CODEX_NON_INTERACTIVE=1 \
sh /tmp/install-codex.sh \
&& rm -f /tmp/install-codex.sh

# Claude Code's native installer installs under $HOME, so run it as the container user
USER vscode
RUN curl -fsSL https://claude.ai/install.sh | bash \
&& rm -rf /home/vscode/.claude/downloads
USER root
RUN ln -s /home/vscode/.local/bin/claude /usr/local/bin/claude
4 changes: 1 addition & 3 deletions template/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}
}
},
"runArgs": [
"--init",
Expand Down
4 changes: 2 additions & 2 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ docker compose up
### VS Code Devcontainer

Open the project in VS Code and use the "Reopen in Container" command for a fully configured development environment.
Devcontainer automatically installs uv and Claude Code, and installs the latest Codex release when the image is built.
Rebuild the image to update Codex.
Devcontainer automatically installs uv, Claude Code, and Codex. The latest Claude Code and Codex releases are
installed with their official installers when the image is built, so rebuild the image to update them.

The container mounts the host `${HOME}/.claude` and `${HOME}/.codex` directories at `/home/vscode/.claude` and
`/home/vscode/.codex` for authentication. These bind mounts are read-write, so changes made in the container can
Expand Down