Custom images for Nx Agents

Nx Enterprise

Using a custom base image for Nx Agents is a feature of Nx Enterprise plan for Nx Cloud. If you're interested in Nx Enterprise, we'd love to chat with you about enterprise

Images need to have a base setup in order to run properly with Nx Agents. There are two ways to go about setting up your base image. It's recommended to extend our base image. If you cannot extend our image, manually configure your image with the required steps.

Do not override the USER, WORKDIR or ENTRYPOINT from the base image.

1FROM us-east1-docker.pkg.dev/nxcloudoperations/nx-cloud-enterprise-public/nx-agents-base-images:ubuntu22.04-node20.19-v2 as base 2 3# Add any steps you need such as installing required software 4RUN sudo apt-get install.... 5RUN sudo chmod .... 6

Checklist

  1. Image is publicly accessible to the Nx Cloud instance being used.
    • If your image must remain behind a private registry, please contact your DPE to discuss potential solutions.
  2. USER, WORKDIR and ENTRYPOINT are not overridden
    • If manually setting they are correctly configured as outlined in the Manual step above.
  3. Image is used in a custom launch template via its fully qualified path