Skip to main content
The stock agent-claude.Dockerfile installs Claude Code on the Gravix base toolchain. Build it as a template, then create runtimes from that template name or ID.

Build the Claude template from the Dockerfile

Clone the SDK examples (or copy the Dockerfile), then build with TemplateBuilder.dockerfile(...). Prefer ≥ 8 GB disk.
See Templates for from_image vs dockerfile details.

Extend with packages and a default CLAUDE.md

After you have a Claude base image in a registry (or reuse the built template via a public/private image you publish), layer app defaults:
Or write skills / config at runtime (no rebuild):

MCP tools inside the sandbox

Complete example: create a Claude runtime, register an HTTP MCP server, then ask Claude to use it. Your network policy must allow Anthropic and the MCP host.
Keep MCP credentials in Identity providers when possible; do not bake tokens into the template image.

Production tips