Session image for kascoord: Node base with the Claude and Codex ACP adapters.
  • Dockerfile 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JJ Macalinao 46470575eb
All checks were successful
release / image (push) Successful in 5m42s
feat: add opencode-ai so kascoord can run opencode acp
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-05 23:17:05 +08:00
.forgejo/workflows Revert "feat: publish a -kascoord variant with kascoord's dev tooling" 2026-10-29 11:37:14 +08:00
Dockerfile feat: add opencode-ai so kascoord can run opencode acp 2026-12-05 23:17:05 +08:00
LICENSE feat: initial import 2026-10-28 23:20:53 +08:00
README.md Revert "feat: publish a -kascoord variant with kascoord's dev tooling" 2026-10-29 11:37:14 +08:00
renovate.json5 chore(renovate): automerge updates at any time, like homelab/paperclip 2026-11-27 08:11:53 +08:00

kascoord-sandbox-image

Container image for kascoord agent sessions. Each session runs in a Kubernetes Sandbox whose pod uses this image; kascoord starts an ACP (Agent Client Protocol) adapter inside it with exec.

What it ships

  • node:22-bookworm-slim, pinned by digest.
  • @agentclientprotocol/claude-agent-acp (Claude Agent SDK) and @agentclientprotocol/codex-acp (@openai/codex), both installed globally at pinned versions.
  • skills (the skills.sh CLI), which kascoord uses to install attached skills.
  • git, openssh-client, ca-certificates, bash, curl, jq, ripgrep, tini.

The container runs as the node user (uid 1000) with HOME=/workspace. tini is the entrypoint (it reaps zombies and forwards SIGTERM) and the default command is sleep infinity. A SandboxTemplate that sets command replaces the entrypoint, so start with tini -- sleep infinity there. It contains no gateway, credential, or git configuration. Supply those at runtime from the SandboxTemplate through environment variables, Secrets, and ConfigMaps. For example, set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN for Claude, and point CODEX_HOME at a directory holding a config.toml for Codex.

Build

docker build -t kascoord-sandbox-image .
docker run --rm --entrypoint sh kascoord-sandbox-image \
  -c 'for b in claude-agent-acp codex-acp skills git rg jq tini; do command -v "$b" || { echo "MISSING $b"; exit 1; }; done'

Adapter versions are build args (CLAUDE_AGENT_ACP_VERSION, CODEX_ACP_VERSION). Renovate bumps them through the # renovate: comments in the Dockerfile.

Release

The Forgejo workflow in .forgejo/workflows/release.yml builds on every push to main, tags the image YYYY.MDD.P (UTC date plus a same-day counter), and pushes it to the registry of the forge that hosts the repo. It needs a REGISTRY_TOKEN repository secret with package write access. Set the optional DOCKER_HOST repository variable when the runner's Docker daemon is not at the default address.

License

Apache-2.0.