Skip to content

autonomy.cli.build_images

Build images.

build_image

@click.command(name="build-image")
@click.argument(
    "agent",
    type=PublicIdParameter(),
    required=False,
)
@click.option(
    "--service-dir",
    type=click.Path(dir_okay=True),
    help="Path to service dir.",
)
@click.option("--version", type=str, help="Specify tag version for the image.")
@click.option("--dev", is_flag=True, help="Build development image.", default=False)
@click.option("--pull", is_flag=True, help="Pull latest dependencies.", default=False)
def build_image(agent: Optional[PublicId], service_dir: Optional[Path], pull: bool = False, dev: bool = False, version: Optional[str] = None) -> None

Build runtime images for autonomous agents.