builds
Build a snapshot from an image ref or Dockerfile
Submits an asynchronous build. The scheduler creates a build VM, runs buildah pull (image-only path) or buildah bud (Dockerfile path) inside it, snapshots the result, and tears the VM down.
At least one of imageRef or dockerfileContent must be provided. If dockerfileContent is set, the worker writes it verbatim into /tmp/buildctx/Dockerfile — buildah handles multi-stage, SHELL, RUN --mount, etc. natively.
For COPY instructions that need files, upload the build context first via POST /v1/build-contexts/presign and pass the returned download URL as contextDownloadUrl.
Response is 202 Accepted with a build ID; poll GET /v1/builds/{id} until status is completed or failed.
post/v1/builds
Request body
Response
Build accepted; poll GET /v1/builds/{id} for status