mirror of
https://github.com/ko-build/ko.git
synced 2025-11-23 22:35:11 +02:00
update docs to reflect actual base image (#903)
This commit is contained in:
@@ -8,7 +8,7 @@ Aside from `KO_DOCKER_REPO`, you can configure `ko`'s behavior using a
|
|||||||
|
|
||||||
### Overriding Base Images
|
### Overriding Base Images
|
||||||
|
|
||||||
By default, `ko` bases images on `gcr.io/distroless/static:nonroot`. This is a
|
By default, `ko` bases images on `cgr.dev/chainguard/static`. This is a
|
||||||
small image that provides the bare necessities to run your Go binary.
|
small image that provides the bare necessities to run your Go binary.
|
||||||
|
|
||||||
You can override this base image in two ways:
|
You can override this base image in two ways:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// configDefaultBaseImage is the default base image if not specified in .ko.yaml.
|
// configDefaultBaseImage is the default base image if not specified in .ko.yaml.
|
||||||
configDefaultBaseImage = "distroless.dev/static:latest"
|
configDefaultBaseImage = "cgr.dev/chainguard/static:latest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BuildOptions represents options for the ko builder.
|
// BuildOptions represents options for the ko builder.
|
||||||
|
|||||||
Reference in New Issue
Block a user