From ffe5ac0071f4c96a3764012a9fe01f06510c1e57 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Thu, 22 Dec 2022 15:03:52 -0500 Subject: [PATCH] update docs to reflect actual base image (#903) --- docs/configuration.md | 2 +- pkg/commands/options/build.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 31850d8f..b382bf3f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -8,7 +8,7 @@ Aside from `KO_DOCKER_REPO`, you can configure `ko`'s behavior using a ### 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. You can override this base image in two ways: diff --git a/pkg/commands/options/build.go b/pkg/commands/options/build.go index be7d7348..635958f8 100644 --- a/pkg/commands/options/build.go +++ b/pkg/commands/options/build.go @@ -32,7 +32,7 @@ import ( const ( // 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.