Skip to content
Open
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
17 changes: 9 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,15 @@
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",

// AI Agent Credentials
"source=${localEnv:HOME}/.claude,target=/home/${localEnv:USER}/.claude,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude.json,target=/home/${localEnv:USER}/.claude.json,type=bind,consistency=cached",
"source=${localEnv:HOME}/.codex,target=/home/${localEnv:USER}/.codex,type=bind,consistency=cached",
// Omnigent (AI meta-harness, wraps Codex/Claude)
"source=${localEnv:HOME}/.omnigent,target=/home/${localEnv:USER}/.omnigent,type=bind,consistency=cached",
"source=${localEnv:HOME}/.pi,target=/home/${localEnv:USER}/.pi,type=bind,consistency=cached",
"source=${localEnv:HOME}/.config/sonarqube,target=/home/${localEnv:USER}/.config/sonarqube,type=bind,readonly",
"source=${localEnv:HOME}/.gemini,target=/home/${localEnv:USER}/.gemini,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude,target=/home/${localEnv:USER}/.claude,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude.json,target=/home/${localEnv:USER}/.claude.json,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude-profiles,target=/home/${localEnv:USER}/.claude-profiles,type=bind,consistency=cached",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Make optional Claude profile mount safe

For hosts that do not already have ~/.claude-profiles, this new devcontainer bind mount prevents the container from starting: devcontainer mounts entries use Docker --mount syntax, and Docker errors when a bind source path is absent. Since this profile directory only exists on machines that have opted into that layout, consider creating it in initializeCommand or otherwise making the mount safe; otherwise users who satisfied the previous credential mounts but have no profile directory can no longer open the bench.

Useful? React with 👍 / 👎.

"source=${localEnv:HOME}/.codex,target=/home/${localEnv:USER}/.codex,type=bind,consistency=cached",
// Omnigent (AI meta-harness, wraps Codex/Claude)
"source=${localEnv:HOME}/.omnigent,target=/home/${localEnv:USER}/.omnigent,type=bind,consistency=cached",
"source=${localEnv:HOME}/.pi,target=/home/${localEnv:USER}/.pi,type=bind,consistency=cached",
"source=${localEnv:HOME}/.config/sonarqube,target=/home/${localEnv:USER}/.config/sonarqube,type=bind,readonly",
"source=${localEnv:HOME}/.gemini,target=/home/${localEnv:USER}/.gemini,type=bind,consistency=cached",
"source=${localEnv:HOME}/.grok,target=/home/${localEnv:USER}/.grok,type=bind,readonly",
"source=${localEnv:HOME}/.copilot-cli,target=/home/${localEnv:USER}/.copilot-cli,type=bind,readonly",
// NotebookLM (auth tokens from host)
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile.layer2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM ${BASE_IMAGE}
# Container version labels
LABEL layer="2"
LABEL layer.name="dotnet-bench"
LABEL layer.version="2.0.1"
LABEL layer.version="2.0.2"
LABEL layer.updated="2026-03-06"
LABEL layer.description=".NET development tools and SDK (user-agnostic)"
Comment on lines +13 to 15
LABEL bench.type="dotnet"
Expand All @@ -19,6 +19,7 @@ USER root

# Shared tool install path — accessible to any Layer 3 user
ENV DOTNET_TOOLS_PATH=/usr/local/share/dotnet-tools
ARG KUBERNETES_APT_MINOR=1.36
RUN mkdir -p $DOTNET_TOOLS_PATH

# ========================================
Expand Down Expand Up @@ -139,9 +140,9 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

# kubectl
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key \
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v${KUBERNETES_APT_MINOR}/deb/Release.key \
| gpg --batch --yes --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.32/deb/ /" \
&& echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v${KUBERNETES_APT_MINOR}/deb/ /" \
Comment on lines +143 to +145
> /etc/apt/sources.list.d/kubernetes.list \
&& apt-get update && apt-get install -y kubectl \
&& rm -rf /var/lib/apt/lists/*
Expand Down