-
Notifications
You must be signed in to change notification settings - Fork 164
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
feat: harden image using apko and wolfi #2697
Conversation
✅ Deploy Preview for docs-kargo-akuity-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for docs-kargo-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
c8bc661
to
ce72da2
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2697 +/- ##
=======================================
Coverage 51.08% 51.08%
=======================================
Files 282 282
Lines 21125 21125
=======================================
Hits 10791 10791
Misses 9651 9651
Partials 683 683 ☔ View full report in Codecov by Sentry. |
344a560
to
bc82c92
Compare
Signed-off-by: Kent Rancourt <[email protected]>
bc82c92
to
b732e91
Compare
Signed-off-by: Kent Rancourt <[email protected]> Co-authored-by: Hidde Beydals <[email protected]>
Signed-off-by: Kent Rancourt <[email protected]>
Signed-off-by: Kent Rancourt <[email protected]>
This can be merged after #2694. |
Fixes #2400
This PR applies a hardening strategy previously put to the test on Kargo Render in akuity/kargo-render#297
When building with
make hack-build
or via the official Actions-based CI/release processes, this will build a distroless base image using apko + wolfi and then load that into Docker and than layer the rest of Kargo on top of that. I've verified it works identically to the old image.I've also verified that changes to the Dockerfile do not disrupt our Tilt-based development workflow.
Edit: I've just realized this will break #2413. Draft until fixed.