Skip to main content

Configure the Build

Pass properties to the build of an integration, choose the image it is built on, and size the build.

How it works​

This setting changes how the image of this integration is built: build-time properties, Maven profiles, the resources given to the build. Most integrations never need it. Reach for it when a dependency needs a build-time property or when a large build runs out of memory.

Changes here rebuild the image

Unlike most settings, this one triggers a new build at the next apply.

Prerequisites​

Procedure​

  1. In Runtime Manager, go to Integrations and open the integration.
  2. Choose Add Capability, then Build.
  3. Fill Build Properties, Base Image, or the CPU and memory of the build.
  4. Choose Apply changes.

Parameters​

FieldWhat it isDefault
Build PropertiesProperties given to the build, written key=value.—
Base ImageThe image the integration is built on. It must hold a Java runtime.mcr.microsoft.com/openjdk/jdk:17-distroless
Incremental Image BuildReuse what was already built to build faster.As the environment
Builder CPU RequestThe CPU a build asks for.200m
Builder Memory RequestThe memory a build asks for.512Mi
Builder CPU LimitThe most CPU a build may use.1000m
Builder Memory LimitThe most memory a build may use.2Gi

Behavior and limits​

  • This setting rebuilds the image.
  • A build that fails for lack of memory needs a higher Builder Memory Limit.
  • What applies to every integration of an environment is set once, on its Camel Integration Service.

See also​