-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Bump container base images to fix CVEs #3160
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
Bump container base images to fix CVEs #3160
Conversation
Signed-off-by: Mathieu Benoit <[email protected]>
Signed-off-by: Mathieu Benoit <[email protected]>
Signed-off-by: Mathieu Benoit <[email protected]>
Signed-off-by: Mathieu Benoit <[email protected]>
|
Details below to expand to see what was done related to the cartservice - .NET 9 --> 10.NET 10 was announced on Nov 11th 2025: https://devblogs.microsoft.com/dotnet/announcing-dotnet-10/. Container images size locally on disk:
Fixing:
|
|
Details below to expand to see what was done related to the checkoutservice - Golang 1.23 --> 1.25Golang 1.25 was announced on Aug 12th 2025: https://go.dev/blog/go1.25. cd src/checkoutservice
go mod edit -go 1.25
go mod edit --toolchain 1.25.4
go get -t -u ./...
go get -u all
go mod tidyContainer images size locally on disk:
Fixing:
|
|
Details below to expand to see what was done related to the frontend - Golang 1.23 --> 1.25Golang 1.25 was announced on Aug 12th 2025: https://go.dev/blog/go1.25. cd src/frontend
go mod edit -go 1.25
go mod edit --toolchain 1.25.4
go get -t -u ./...
go get -u all
go mod tidyContainer images size locally on disk:
Fixing:
|
|
Details below to expand to see what was done related to the productcatalogservice - Golang 1.23 --> 1.25Golang 1.25 was announced on Aug 12th 2025: https://go.dev/blog/go1.25. cd src/productcatalogservice
go mod edit -go 1.25
go mod edit --toolchain 1.25.4
go get -t -u ./...
go get -u all
go mod tidyContainer images size locally on disk:
Fixing:
|
|
Details below to expand to see what was done related to the adserviceNo significant changes, just speed up build time Container images size locally on disk:
|
|
Details below to expand to see what was done related to the shippingservice - Golang 1.23 --> 1.25Golang 1.25 was announced on Aug 12th 2025: https://go.dev/blog/go1.25. cd src/shippingservice
go mod edit -go 1.25
go mod edit --toolchain 1.25.4
go get -t -u ./...
go get -u all
go mod tidyContainer images size locally on disk:
Fixing:
|
Dockerfiles|
Details below to expand to see what was done related to the recommendationservice - Python 3.12.8 --> 3.12.12Fixing:
|
|
Details below to expand to see what was done related to the loadgenerator - Python 3.12.8 --> 3.12.12Fixing:
|
|
Details below to expand to see what was done related to the emailservice - Python 3.12.8 --> 3.12.12Fixing:
|
|
Details below to expand to see what was done related to the paymentservice - Node 20.18 --> 20.19 + Alpine 3.20 --> 3.22Fixing:
|
|
Hi @bourgeoisor and team, ready for your review, thanks! |
bourgeoisor
left a comment
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.
LGTM, superb work, thank you Mathieu!
|
Yeah, good version bumps. Thanks for covering. |
Bump container base images to fix CVEs.
Summary:
cartservice--> 6 CVEs fixedcheckoutservice--> 20 CVEs fixed +12.5MBsaved locally on diskfrontend--> 20 CVEs fixed +14MBsaved locally on diskproductcatalogservice--> 20 CVEs fixed +17.8MBsaved locally on diskshippingservice--> 20 CVEs fixed +11.7MBsaved locally on diskadservice--> no significant changes, just speed up build timecurrencyservice--> 10 CVEs fixedpaymentservice--> 10 CVEs fixedrecommendationservice--> 11 CVEs fixed +3.2MBsaved locally on diskemailservice--> 11 CVEs fixed +3.2MBsaved locally on diskloadgenerator--> 11 CVEs fixedFixing all these other PRs/Issues:
See the different comments below on this PR for all the details per service/app (what was done, the CVEs fixed, output of
docker scout compare).In addition to successfully going through the CI tests, successfully working locally with Docker Compose too:
