-
Notifications
You must be signed in to change notification settings - Fork 485
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
Go 1.17 #739
Go 1.17 #739
Conversation
Dockerfile
Outdated
@@ -8,17 +8,9 @@ FROM docker:$DOCKERD_VERSION AS dockerd-release | |||
# xx is a helper for cross-compilation | |||
FROM --platform=$BUILDPLATFORM tonistiigi/xx@sha256:21a61be4744f6531cb5f33b0e6f40ede41fa3a1b8c82d5946178f80cc84bfc04 AS xx | |||
|
|||
FROM --platform=$BUILDPLATFORM golang:1.16-alpine AS golatest | |||
FROM --platform=$BUILDPLATFORM golang:1.17-alpine AS golatest |
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.
Should we have a test-matrices to test current
and n-1
versions of go?
also see docker/cli#3258 (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.
Should we have a test-matrices to test
current
andn-1
versions of go?
Good idea I will add a dedicated matrix in a follow-up.
also see docker/cli#3258 (comment)
Ah yes buildx is rebuilt through the packaging pipeline. Forgot that.
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.
I'm not sure we need a matrix. This is a cli tool. Good pattern to leave them configurable though.
go.mod
Outdated
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect | ||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect | ||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect | ||
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 // indirect |
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.
Go 1.17 on macOS requires golang/sys@a76c4d0 (May 8) or later
A extra topic, could we remove the whole the newer version of golang we use, the go modules is more stable. |
No, I'm against that. Dependencies should tracked as other source code for reviews, edits, debugging etc. |
@tonistiigi PTAL, I'll leave at 1.16 in go.mod for now to avoid golang/go#46144 in other projects. |
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
Signed-off-by: CrazyMax crazy-max@users.noreply.github.com