Bake Claude Code and Codex into the Harbor task image and verify them at trial start
Author: axiomofjoyCreated Sep 28, 2026Updated Sep 28, 2026
Harbor installs Claude Code and Codex over the network at trial start, so the job allowlist has to open `downloads.claude.ai`, and Codex is already preinstalled because its installer needs hosts the allowlist blocks. Bake both CLIs into the image at the versions the job file pins, hide each behind root-only permissions so a condition only sees the CLI it runs, and have the agent classes open and verify their own CLI instead of downloading it. The sealed environment then needs no install hosts at all.
Source: Arize-ai/phoenix