Skip to main content
The default risoluto-codex:latest image ships with Node.js 22, Codex CLI, Git, and common developer tools. When your project needs extra runtimes or tooling, build a custom image.

When you need this

  • Your project uses Python, Go, Rust, Java, or other runtimes
  • You want project dependencies pre-installed for faster agent startup
  • You need specialized CLIs (terraform, kubectl, aws, gcloud)
  • You want a reproducible, locked-down agent environment

Build a custom image

1

Create a Dockerfile

Extend the base image with your tools.
2

Build the image

3

Configure Risoluto to use it

4

Verify

Create a test issue and confirm the container uses your image:

Pre-installing dependencies

Bake your project’s dependency tree into the image for faster agent startup:
Dockerfile.with-deps
Then mount the installed dependencies as read-only:

Advanced options

gVisor intercepts syscalls, providing an additional isolation layer between the agent and the host kernel.
Prerequisites: runsc must be installed on the host and registered as a Docker runtime. gVisor adds latency overhead but is recommended for untrusted workloads.
Restrict which domains the agent container can reach:
Any outbound connection to a domain not on the list is blocked.
Mount host directories into the container for shared caches, config files, or read-only data:
Forward specific host environment variables into the sandbox:
Only forward variables the agent genuinely needs. Every forwarded variable is accessible to the AI inside the container.
Custom images bypass the default security baseline. When extending the image, avoid installing setuid binaries, running as root unnecessarily, or opening additional network ports. Review your Dockerfile against the Trust Model before deploying.

What’s Next

Multi-repo Setup

Route issues to different repos with prefix and label matching.

Monitoring Stack

Set up Prometheus and Grafana to monitor agent runs.

Trust Model

Understand the sandbox security boundaries.
Last modified on April 3, 2026