AI CLIs
Install AI tools deliberately. Pin versions when the tool manager supports it.
Install (Containerfile)
Section titled “Install (Containerfile)”A global npm install bakes the CLIs into the image for every VM:
RUN npm install -g --ignore-scripts \ @anthropic-ai/claude-code@latest \ @openai/codex@latestDrop --ignore-scripts only after reviewing the packages and accepting that
install-time code runs as root during the build.
Permissive mode (disposable VMs only)
Section titled “Permissive mode (disposable VMs only)”These configs disable the CLI safety prompts and sandboxing. Use only in
throwaway VMs you would not mind being wiped. Baking them into /etc/skel means
the dev user created at dvm sync inherits them:
RUN install -d -m 700 /etc/skel/.claude /etc/skel/.codex \ && printf '%s\n' '{ "permissions": { "defaultMode": "bypassPermissions" } }' \ > /etc/skel/.claude/settings.json \ && printf 'approval_policy = "never"\nsandbox_mode = "danger-full-access"\n' \ > /etc/skel/.codex/config.toml \ && chmod 600 /etc/skel/.claude/settings.json /etc/skel/.codex/config.tomlDo not put API tokens in DVM config or the image. Sign in inside the VM.
Built and maintained by eshlox.