[24.0 backport] Dockerfile: Windows: update Golang download domains to cut down redirects #46325
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hack: update link to GOPATH documentation
This documentation moved to a different page, and the Go documentation
moved to the https://go.dev/ domain.
Dockerfile: Windows: update Golang download domains to cut down redirects
The
golang.org
domain moved togo.dev
, and the download-URLs we wereusing resulted in 2 redirects;
This patch cuts it down to one redirects. I decided not to use the "final"
(
dl.google.com
) URL, because that URL is not documented in the Golang docs,and visiting the domain itself (https://dl.google.com/) redirects to a marketing
page for "Google Chrome".
Trying the
/go/
path (https://dl.google.com/go/) also does not show a landingpage that lists downloads, so I'm considering those URLs to be "unstable".
- A picture of a cute animal (not mandatory but encouraged)