Skip to content

Commit

Permalink
add link
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Feb 20, 2024
1 parent e1636f5 commit 46486a7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/docs/api-reference/starlark-reference/image-build-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Image Build Spec
sidebar_label: Image Build Spec
---

Kurtosis starts services based on a provided image definition in the `image` arg of `ServiceConfig`. You can provide Kurtosis with a published image to use or alternatively, use `ImageBuildSpec` to instruct Kurtosis to build the Docker image the service will be started from.
Kurtosis starts services based on a provided image definition in the `image` arg of [`ServiceConfig`](./service-config.md). You can provide Kurtosis with a published image to use or alternatively, use `ImageBuildSpec` to instruct Kurtosis to build the Docker image the service will be started from.

`ImageBuildSpec` can be especially useful when developing on a service that needs to be run in an enclave over and over to test the latest changes to the service. Kurtosis leverages the underlying Docker image cache when building images.
`ImageBuildSpec` can be especially useful when developing on a service that needs to be run in an enclave over and over to test latest changes. Kurtosis leverages the Docker's image caching when building images so images aren't rebuilt everytime.

```python
image = ImageBuildSpec(
Expand All @@ -22,8 +22,4 @@ Kurtosis starts services based on a provided image definition in the `image` arg
# OPTIONAL
target_stage=""
)
```

:::info
Kurtosis leverages the underlying Docker image cache when building images.
:::
```

0 comments on commit 46486a7

Please sign in to comment.