Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ko docs to describe new default base image #7851

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/content/en/docs/pipeline-stages/builders/ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ build:

### Base image

`ko` uses the [Distroless](https://github.com/GoogleContainerTools/distroless)
image `gcr.io/distroless/static:nonroot` as the default base image. This is a
small image that provides a
[minimal environment for Go binaries](https://github.com/GoogleContainerTools/distroless/tree/main/base).
`ko` uses a [distroless](https://distroless.dev)
image `distroless.dev/static` as the default base image. This is a
small image that provides a minimal environment for Go binaries.
The default base image does not provide a shell, and it does not include
`glibc`.

Expand All @@ -69,7 +68,7 @@ a shell, you can use this configuration:

```yaml
ko:
fromImage: gcr.io/distroless/base:debug-nonroot
fromImage: debian
```

### Multi-platform images
Expand Down