Skip to content
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

Merged
merged 5 commits into from
Oct 28, 2022
Merged

fix: use upgrade Go in the tools image #2749

merged 5 commits into from
Oct 28, 2022

Conversation

spring1843
Copy link
Contributor

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?

  • On our CI/CD pipeline

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@spring1843 spring1843 requested a review from a team as a code owner October 28, 2022 00:05
@netlify
Copy link

netlify bot commented Oct 28, 2022

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit c843638
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/635b1d0f70baab00082201a0

@@ -30,10 +30,11 @@ RUN apk add --no-cache \
curl \
tar \
bash \
gcc \
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@spring1843 spring1843 merged commit 8c47ca7 into aws:main Oct 28, 2022
@spring1843 spring1843 deleted the rm/upgrade-go branch October 28, 2022 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants