-
Notifications
You must be signed in to change notification settings - Fork 70
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
[REQ] investigate wolfi based images #38
Comments
I've been looking into Wolfi based images and so far I've discovered the following:
Due to the above issues, would Wolfi be considered out of scope of the Copa project? Additional input on this issue would be appreciated. |
For the tests, we always pin to a digest and tag is used for human readability. Re: distroless, this is not an issue for copa, copa supports patching distroless images. For example, Copa would still be valuable if there's an intermediate images built from the base image. Say, someone creates a new image from a wolfi-based image, and then another build depends on the previous image. Copa will allow users to take action directly, instead of waiting for the intermediate image to be updated or rebuilding it themselves. I think this would be in scope for copa, but low priority, since we haven't heard any user ask for this. |
There's a little issue with supporting Wolfi images, but additional input would be appreciated here. Below is a direct quote from Chainguard themselves, hidden away in their docs:
In another part of their docs:
I think the best approach here in the future if we were to add Wolfi support would be to add it as its own separate package manager in pkgmgr.go. Wolfi requires all APK packages to be built using melange so we'd effectively be required to scan a wolfi image, if there's any vulnerabilities it would need to generate a melange.yaml file and build it, and then inject them into the Wolfi container. More information on melange can be found here. |
After investigation, the Copa team has decided that Wolfi support will not be added due to how complex the implementation would have to be. Docs will be updated to indicate this and the issue will be closed out 🙂 |
What kind of request is this?
New feature
What is your request or suggestion?
investigate wolfi based images https://github.com/chainguard-images/images#chainguard-images
cgr.dev/chainguard/go:1.19.4 (fixable vulns in git, openssl, libcrypto)
cgr.dev/chainguard/cc-dynamic
cgr.dev/chainguard/static
...
will they be similar to distroless/debian or alpine?
The text was updated successfully, but these errors were encountered: