# Build artifacts from source code

> Build artifacts from source code - Configure, trigger, and troubleshoot builds that turn your source
> code into a container image.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-09-30T19:52:18.897784+00:00` (UTC).

## Primary page

- [Build artifacts from source code](https://docs.datarobot.com/ja/docs/workload-api/build-artifacts/build-from-code/index.html.md): Full documentation for this topic (Markdown sidecar).

## Documentation content

> [!NOTE] プレミアム機能
> Workload APIはプレミアム機能です。 この機能を有効にする方法については、DataRobotの担当者または管理者にお問い合わせください。

An artifact can reference a container image you already built ( `imageUri`), or it can build one from your source code by setting `imageBuildConfig` on a container instead—often called code to Workload —so the same platform-managed process produces every image, with no local `docker build` or registry push in between. This section covers that path end to end: pointing an artifact at your code, triggering and tracking the build, reading its logs, and a full worked example.

> [!NOTE] Applies only to artifacts built from source
> Every page in this section assumes an artifact with `imageBuildConfig` and a `codeRef`. If your artifact references a pre-built image with `imageUri`, there's nothing here to configure or troubleshoot.

| リソース | 説明 |
| --- | --- |
| Build an image from source code | Point an artifact at your code with codeRef, and choose a provided or generated Dockerfile. |
| Trigger and manage builds | Start builds, track status, cancel, and interpret build errors. |
| ビルドログ | Retrieve build output and diagnose a failed build. |
| Tutorial: Build a Workload from source | End-to-end walkthrough from a local project to a running endpoint. |
