-
Notifications
You must be signed in to change notification settings - Fork 832
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
fix: use upgrade Go in the tools image #2749
Conversation
✅ Deploy Preview for karpenter-docs-prod canceled.
|
@@ -30,10 +30,11 @@ RUN apk add --no-cache \ | |||
curl \ | |||
tar \ | |||
bash \ | |||
gcc \ |
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.
Have we tried to resolve the dependency issue with CGO rather than adding the gcc directly to the Dockerfile?
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.
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.
Line linking is broken. Look at the top line of the file.
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.
@jonathan-innis no, but this image should reflect what's being used regardless. We have to find out which dependency is using CGO now (It's probably knative) and see if we can do anything about it.
Fixes #
Description
Latest alpine has Go 1.18 while we need 1.19
Also adds gcc and common libraries so that dependencies that use CGO can build
How was this change tested?
Does this change impact docs?
Release Note
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.