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
125 changes: 0 additions & 125 deletions .devcontainer/Dockerfile

This file was deleted.

93 changes: 0 additions & 93 deletions .devcontainer/configure-claude.sh

This file was deleted.

9 changes: 9 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "1.10.1",
"resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:698f5900fac471e046c6e9d4333fec88c0e8d952c713494fa0712dce80baeca0",
"integrity": "sha256:698f5900fac471e046c6e9d4333fec88c0e8d952c713494fa0712dce80baeca0"
}
}
}
75 changes: 24 additions & 51 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,50 @@

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "NeoLabHQ Sandbox (Ubuntu 24.04)",
// use a Dockerfile. More info: https://containers.dev/guide/dockerfile
"build": {
"dockerfile": "Dockerfile"
},


// Features to add to the dev container. More info: https://containers.dev/features.
// docker-outside-of-docker: mounts the host Docker socket and installs the Docker CLI.
// This MUST remain a features entry because it depends on host-level configuration
// (socket path, group GID mapping) that only the devcontainer CLI / VS Code can wire up.
// The docker-mcp CLI plugin (previously a bash-command feature) is now baked into
// the :agents image layer — see Dockerfile.agents and the migration table in
// .specs/tasks/todo/setup-docker-image.chore.md.
"name": "Agent Sandbox",
"image": "neolabhq/sandbox:latest",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers-extra/features/bash-command:1": {
// Install docker mcp
"command": "git clone https://github.com/docker/mcp-gateway.git /tmp/mcp-gateway && cd /tmp/mcp-gateway && mkdir -p '/home/node/.docker/cli-plugins/' && DOCKER_MCP_CLI_PLUGIN_DST=/home/node/.docker/cli-plugins/docker-mcp && HOME=/home/node && make docker-mcp && chown -R node:node /home/node/"
}
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
}
},
"remoteUser": "vscode",
"containerEnv": {
"CLAUDE_CODE_OAUTH_TOKEN": "${localEnv:CLAUDE_CODE_OAUTH_TOKEN}",
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
"CONTEXT7_API_KEY": "${localEnv:CONTEXT7_API_KEY}",
"NODE_ENV": "development"
},

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
},
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
},
"extensions": [
"streetsidesoftware.code-spell-checker",
"anthropic.claude-code",
"dbaeumer.vscode-eslint",
"redhat.vscode-yaml",
"redhat.vscode-xml",
"redhat.vscode-json"
"anthropic.claude-code",
"dbaeumer.vscode-eslint",
"redhat.vscode-yaml",
"redhat.vscode-xml",
"redhat.vscode-json"
]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000, 8080],

// Use 'portsAttributes' to set default properties for specific forwarded ports.
// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
"portsAttributes": {
"3000": {
"label": "Dev Server",
"onAutoForward": "notify"
}
},

// -- Environment variables --
"containerEnv": {
"NODE_ENV": "development",
"COLORTERM": "truecolor"
},
"remoteEnv": {
// if anthropic api key is set, will skip login
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
"CLAUDE_CODE_OAUTH_TOKEN": "${localEnv:CLAUDE_CODE_OAUTH_TOKEN}",
"CONTEXT7_API_KEY": "${localEnv:CONTEXT7_API_KEY}"
},

// Install MCP servers and plugins after the container starts (needs runtime env vars)
"postCreateCommand": {
// TODO: backe install-mcps.sh in Dockerfile to run automatically after the container starts. It should check for avaiable env vars and run the related mcp setup commands based on them.
"install-mcps": "/opt/devcontainer/install-mcps.sh"
},

"remoteUser": "node"
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}
14 changes: 0 additions & 14 deletions .devcontainer/install-mcps.sh

This file was deleted.

Loading
Loading