Skip to main content
By default, Devin builds your environment on the platform’s default image, which ships with many language toolchains installed. A base image lets you choose a minimal operating system image yourself in your blueprint, by name and version, and install only the toolchains your repositories need.

Choose a base image

A base image is named <family>:<version>. Set it with runs-on at the top of your organization or enterprise blueprint:
Without a base image, the build uses the platform’s default image. Machine size, CPU, memory, and disk do not change.

Available images

Ubuntu

ubuntu:24.04 and ubuntu:26.04 are minimal Ubuntu LTS images. They have what Devin itself needs to work, and little else. The default Linux image is Ubuntu 22.04 with many toolchains preinstalled. Install what your repositories need in the blueprint that names the image: See GitHub Actions (uses) for the step format.

Switch an existing environment

  1. Add a step that installs each tool your blueprints use and the image leaves out. You can add and test these steps while still on the default image.
  2. Add runs-on with the image, for example runs-on: ubuntu:24.04.
  3. Save. The next build is a full build on the new image, not a differential build.
To go back, remove the base image from runs-on and rebuild.

Troubleshooting

Blueprints name more than one base image

Two blueprints in the build set different images. The message lists them. Change them to the same value, or name the image in one blueprint only.

Base images in runs-on are not available yet

Base images are not enabled for your deployment. Remove the base image from runs-on to build on the default image, and contact your account team.

Base image does not exist

The value is not one of the available images. Check the spelling and version.

Command not found after switching

A step uses a tool that the default image has and the base image does not. Check what your image leaves out under Available images and add an install step before it.