-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add -dev variant to static image #368
Conversation
Plan is to replace `gcr.io/distroless/static:debug` here https://github.com/open-policy-agent/opa/blob/main/Makefile#L363 Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
I don't think that I can set the labels, so might need some help there. |
- apko: | ||
config: configs/latest-glibc.apko.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we could would be great to have this on the glibc version too
I might be missing some context, but what is a dev variant of The nearest equivalent to So |
Thanks for those details Jason, much appreciated. I think that we can use busybox in that case. I'll close this for now! |
This completes the work started in #5540 Fixes #5544 We can't use distroless since they don't have a nossl cc image: GoogleContainerTools/distroless#1210 Chainguard have added this (-dev rather than :debug) to their image collection: chainguard-images/images#187 Following advice here, using their busybox is the best replacement for `gcr.io/distroless/static:debug` chainguard-images/images#368 (comment) Signed-off-by: Charlie Egan <charlie@styra.com>
Co-authored-by: imjasonh <imjasonh@users.noreply.github.com>
Plan is to replace
gcr.io/distroless/static:debug
here https://github.com/open-policy-agent/opa/blob/main/Makefile#L363Fixes:
Related:
Pre-review Checklist
For new image PRs only
If you have an apko.yaml file in this PR you need to follow this checklist, otherwise feel free to remove.
nonroot
and GID/UID are set to 65532–help
docker kill $(docker run -d --rm cgr.dev/chainguard/nginx)