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

Build a distroless variant using ko or apko #1591

Closed
jawnsy opened this issue Dec 21, 2022 · 2 comments
Closed

Build a distroless variant using ko or apko #1591

jawnsy opened this issue Dec 21, 2022 · 2 comments
Assignees
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@jawnsy
Copy link

jawnsy commented Dec 21, 2022

Feature Description

Build a minimal, distroless, container image using the ko build tool or the related apko build tool.

This removes all extraneous container contents, which reduces false positives that occur when other unrelated libraries are included in the base image. Additionally, it makes it easier to produce signed images or publish an SBOM.

@jawnsy jawnsy added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Dec 21, 2022
@enocom
Copy link
Member

enocom commented Dec 21, 2022

Our default image actually already uses distroless. See here and here.

For signed images, we're considering #1267. If you have thoughts on what that should look like, please add them to the issue.

Assuming you're not thinking of something else that I've missed, I'm going to close this. Feel free to re-open if our current distroless container needs some work.

@enocom enocom closed this as completed Dec 21, 2022
@jawnsy
Copy link
Author

jawnsy commented Dec 21, 2022

Thanks for triaging and the links! I think documentation would be useful to help people choose between the images, based on the README description, it seems that the default distroless variant would be preferable for us, over alpine.

I agree with closing this, thanks for taking a look and sorry about the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants