Skip to content

feat: add eugo toolchain dev container (.devcontainer + .mcp.json)#3

Open
BwL1289 wants to merge 4 commits into
mainfrom
feat/eugo-devcontainer
Open

feat: add eugo toolchain dev container (.devcontainer + .mcp.json)#3
BwL1289 wants to merge 4 commits into
mainfrom
feat/eugo-devcontainer

Conversation

@BwL1289

@BwL1289 BwL1289 commented Jun 16, 2026

Copy link
Copy Markdown

Adds a VSCode Dev Container that builds this fork with the eugo toolchain image
(clang / cmake / meson / CUDA) + GPU passthrough + Claude Code and the eugo-kb / GitHits MCP servers.

  • .devcontainer/ (or .devcontainer/eugo/ where an upstream .devcontainer/ already exists):
    devcontainer.json + Dockerfile (pins the eugo dev image; ARG-overridable) + post-create.sh.
  • .mcp.json: eugo-kb (docker exec to the host eugo-kb-tools) + GitHits (npx).

Base image 411727469413.dkr.ecr.us-east-1.amazonaws.com/slava_mega_test:ray-meson-perf-debug
(pulling it needs ECR access to account 411727469413). Verified to build on that base.

🤖 Generated with Claude Code

BwL1289 and others added 4 commits June 16, 2026 22:25
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds local developer tooling to this repository by introducing a VS Code Dev Container setup based on a pinned “eugo toolchain” image (clang/cmake/meson/CUDA, GPU passthrough) and an MCP configuration to enable GitHits and eugo-kb MCP servers.

Changes:

  • Added root .mcp.json configuring GitHits (via npx) and eugo-kb (via docker exec) MCP servers.
  • Added .devcontainer/ with a Dockerfile that pins the eugo base image and installs a Docker CLI for host-socket access.
  • Added a post-create.sh diagnostic script invoked on container creation.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
.mcp.json Adds MCP server definitions for GitHits and eugo-kb.
.devcontainer/devcontainer.json Defines the devcontainer build/run configuration, mounts, and VS Code extensions/settings.
.devcontainer/Dockerfile Pins the base toolchain image and installs Docker CLI + base shell warning workaround.
.devcontainer/post-create.sh Post-create diagnostics for tool availability and MCP backend reachability.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .mcp.json
Comment on lines +5 to +9
"args": [
"-y",
"githits@latest",
"mcp",
"start"
Comment thread .devcontainer/Dockerfile
Comment on lines +14 to +26
ARG DOCKER_CLI_VERSION=29.5.3
RUN <<EOT
set -eux
curl -fsSL "https://download.docker.com/linux/static/stable/aarch64/docker-${DOCKER_CLI_VERSION}.tgz" \
| tar xz -C /usr/local/bin --strip-components=1 docker/docker
# The base's BASH_ENV sources /usr/local/bin/eugo_shared.inc, which is a DANGLING symlink in a
# fork (the eugo scripts aren't present) — every non-interactive shell warns. Replace it with an
# empty no-op file (rm the dangling link first; writing through it would ENOENT).
rm -f /usr/local/bin/eugo_shared.inc
: > /usr/local/bin/eugo_shared.inc
docker --version
node --version
EOT
Comment on lines +22 to +24
[ -d "$HOME/.claude" ] \
&& echo "[devcontainer] ~/.claude persisted at $HOME/.claude" \
|| echo "[devcontainer] note: run 'claude' once to log in (persists via the eugo-claude-config volume)"
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.

2 participants