コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl build

Page as Markdown

宣言型リソースプロジェクト用の Docker イメージをビルドします

arctl init で作成したプロジェクトの Docker イメージをビルドします。

プロジェクトディレクトリ内の arctl.yaml を読み取り、(フレームワーク、言語) の組み合わせから対応するフレームワークを検索してビルドコマンドを実行します。イメージタグは宣言型 YAML の spec から取得されます (または --image で上書き可能)。

サポートされる種類: Agent、MCPServer

使用方法

arctl build DIRECTORY [flags]

例:

arctl build ./my-agent
arctl build ./my-server --push
arctl build ./my-agent  --image ghcr.io/acme/my-agent:v1.0.0 --platform linux/amd64

コマンド固有のフラグ

--image string: Docker image tag override (default: from spec.source.image / spec.source.package.origin.identifier).
--platform string: Target platform (e.g. linux/amd64, linux/arm64).
--push: Push the image after building.

グローバルフラグ

-h, --help: Display help information for the command.