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

Update go version and specify some library versions in Dockerfiles #57

Merged
merged 3 commits into from
Mar 30, 2022

Conversation

snay2
Copy link
Contributor

@snay2 snay2 commented Mar 28, 2022

This will prevent build failures related to deprecation of go get in go 1.18.

Issue #, if available: N/A

Description of changes:

Fix some build failures, similar to this PR in another repo that has a similar structure: aws/aws-node-termination-handler#605

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

This will prevent build failures related to deprecation of `go get` in
go 1.18.
@snay2 snay2 requested a review from a team as a code owner March 28, 2022 20:44

WORKDIR /app

ARG GO111MODULE=auto
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bit of a hack, because it doesn't address go get being deprecated, and it will also modify go.mod and go.sum if a humans runs it locally. I'm still trying to figure out how to get line 7 to work (make install inside the goreportcard repo after download) with go install instead of go get. But in the mean time, better to have a working build than to have this 100% perfect.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just remove go-report-card-test altogether as I don't think we get much value out of it anymore. NTH has been without it for awhile and I'll submit the PR to remove for AEMM shortly


WORKDIR /app

ARG GO111MODULE=auto
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just remove go-report-card-test altogether as I don't think we get much value out of it anymore. NTH has been without it for awhile and I'll submit the PR to remove for AEMM shortly

Copy link
Contributor

@brycahta brycahta left a comment

Choose a reason for hiding this comment

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

/lgtm 🚀

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.

2 participants