# flytekit.image_spec.noop_builder

## Directory

### Classes

| Class | Description |
|-|-|
| [`NoOpBuilder`](https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.image_spec.noop_builder/page.md#flytekitimage_specnoop_buildernoopbuilder) | Noop image builder. |

## flytekit.image_spec.noop_builder.NoOpBuilder

Noop image builder.

### Methods

| Method | Description |
|-|-|
| [`build_image()`](#build_image) | Build the docker image and push it to the registry. |
| [`should_build()`](#should_build) | The build_image function of NoOpBuilder does not actually build a Docker image. |

#### build_image()

```python
def build_image(
    image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> str
```
Build the docker image and push it to the registry.

| Parameter | Type | Description |
|-|-|-|
| `image_spec` | `flytekit.image_spec.image_spec.ImageSpec` | image spec of the task. |

**Returns:** fully_qualified_image_name: Fully qualified image name. If None, then `image_spec.image_name()` is used.

#### should_build()

```python
def should_build(
    image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> bool
```
The build_image function of NoOpBuilder does not actually build a Docker image.
Since no Docker build process occurs, we do not need to check for Docker daemon
or existing images. Therefore, should_build should always return True.

| Parameter | Type | Description |
|-|-|-|
| `image_spec` | `flytekit.image_spec.image_spec.ImageSpec` | Image specification |

**Returns:** bool: Always returns True

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flytekit-sdk/packages/flytekit.image_spec.noop_builder.md
**HTML**: https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.image_spec.noop_builder/
