mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 20:49:41 +02:00
The CLIs live in one `RUN npm install -g` layer, so rebuilding without --no-cache re-uses it and freezes them at the versions the image was FIRST built with. Editing the Dockerfile does not help when the edit lands below that line: the npm layer stays cached and only the new step runs. That is not hypothetical. Adding the Antigravity step (which appends below the npm line) produced a "successful" rebuild that silently kept a stale @openai/codex@0.144.6 whose aliased platform binary had never installed, so every codex docker case died with "Missing optional dependency @openai/codex-linux-x64" while the build reported success. A --no-cache rebuild fixed codex and also un-froze claude, gemini and opencode. Documents the failure, makes --no-cache the recommended invocation in both the guide and the CLAUDE.md quick-reference row, and adds a verify command that actually executes each CLI, since a zero exit code only proves the layers ran. No changeset: docs-only, rides the next release. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>