Repository navigation
fix: Apply Debian security updates in the Go feature server image - #7247
Open
princeizhere wants to merge 1 commit into
Open
princeizhere wants to merge 1 commit into
princeizhere wants to merge 1 commit into
Conversation
Signed-off-by: Prince Kumar <princekumar05.work@gmail.com>
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 2 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7247 +/- ##
=======================================
Coverage 54.26% 54.26%
=======================================
Files 467 467
Lines 59041 59041
Branches 8712 8712
=======================================
+ Hits 32040 32041 +1
Misses 24837 24837
+ Partials 2164 2163 -1
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
The runtime stage of the Go feature server image is built on
debian:trixie-slim, and the slim base image can be behind on Debian security updates. That's how the0.68.0image ended up with the OpenSSL, glibc and zlib versions flagged in #7217.This adds
apt-get upgradeto the runtime stage, so each build installs whatever is pending intrixie-security. Then nobody has to pin one package per advisory, the way #7096 had to forlibbrotli1. I kept thelibbrotli1install as it is so the change stays small.I built the image locally and compared it with the published one:
apt list --upgradablecomes back empty in the new image, and./feast --helpworks.Users will only get these fixes once the image is rebuilt and pushed, since the published
0.68.0tag stays as it is.Which issue(s) this PR fixes:
Fixes #7217
Checks
git commit -s)Testing Strategy