chore(deps): driver and launcher Go builder to 1.26.3#13451
Conversation
Signed-off-by: Jeff Spahr <spahrj@gmail.com>
|
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Bumps the Go base image used by the backend driver and launcher Dockerfiles from golang:1.26.2-alpine to golang:1.26.3-alpine, updating the pinned image digest accordingly.
Changes:
- Upgrade Go builder image from 1.26.2 to 1.26.3 in
Dockerfile.driver. - Upgrade Go builder image from 1.26.2 to 1.26.3 in
Dockerfile.launcher.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| backend/Dockerfile.driver | Updates builder stage base image tag and SHA256 digest to Go 1.26.3-alpine. |
| backend/Dockerfile.launcher | Updates builder stage base image tag and SHA256 digest to Go 1.26.3-alpine. |
|
/ok-to-test |
Signed-off-by: Jeff Spahr <spahrj@gmail.com>
Signed-off-by: Jeff Spahr <spahrj@gmail.com>
hbelmiro
left a comment
There was a problem hiding this comment.
We should upgrade all Dockerfiles and the go.mod file.
Also, the changes in the yaml files seems unrelated.
Signed-off-by: Jeff Spahr <spahrj@gmail.com>
Signed-off-by: Jeff Spahr <spahrj@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary
kfp-driverandkfp-launcherbuilder images fromgolang:1.26.2-alpinetogolang:1.26.3-alpine.alpine:3.21.sha256:91eda9776261207ea25fd06b5b7fed8d397dd2c0a283e77f2ab6e91bfa71079d.Context
This is part of #13449. The 2.16.1
kfp-driverandkfp-launcherscans reported Go stdlib vulnerabilities from binaries built with an older Go toolchain. Go 1.26.3 is the current Go 1.26 patch release and includes the relevant security fixes.This PR only addresses the Go toolchain side. The remaining third-party module findings are covered by the relevant Dependabot PRs.
Verification
git diff --check -- backend/Dockerfile.driver backend/Dockerfile.launcherdocker build -f backend/Dockerfile.driver -t kfp-driver:go1.26.3-test .docker build -f backend/Dockerfile.launcher -t kfp-launcher:go1.26.3-test .trivy image --scanners vuln --format json kfp-driver:go1.26.3-testtrivy image --scanners vuln --format json kfp-launcher:go1.26.3-testLocal Trivy scans on the rebuilt images no longer report
stdlib; remaining findings are third-party Go modules covered by the reviewed Dependabot PRs.