1
0
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:
Jason Hall
2022-12-22 15:03:52 -05:00
committed by GitHub
parent ff69e17d10
commit ffe5ac0071
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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.