<a id="autonomy.deploy.image"></a>

# autonomy.deploy.image

Image building.

<a id="autonomy.deploy.image.generate_dependency_flag_var"></a>

#### generate`_`dependency`_`flag`_`var

```python
def generate_dependency_flag_var(dependencies: Tuple[Dependency, ...]) -> str
```

Generate dependency flag env var

<a id="autonomy.deploy.image.ImageProfiles"></a>

## ImageProfiles Objects

```python
class ImageProfiles()
```

Image build profiles.

<a id="autonomy.deploy.image.build_image"></a>

#### build`_`image

```python
def build_image(agent: PublicId,
                pull: bool = False,
                version: Optional[str] = None,
                image_author: Optional[str] = None,
                extra_dependencies: Optional[Tuple[Dependency, ...]] = None,
                dockerfile: Optional[Path] = None,
                platform: Optional[str] = None,
                push: bool = False,
                builder: Optional[str] = None,
                pre_install_command: Optional[str] = None) -> None
```

Command to build images from for skaffold deployment.

<a id="autonomy.deploy.image.ImageBuildFailed"></a>

## ImageBuildFailed Objects

```python
class ImageBuildFailed(Exception)
```

Raise when there's an error while building the agent image.

