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("--dev", is_flag=True, help="Build developement 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) -> None

Build image using skaffold.

Back to top