File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ RUN `
224224 `
225225 Write-Host INFO: Downloading go...; `
226226 $dlGoVersion=$Env:GO_VERSION -replace '\.0$',''; `
227- Download-File "https://golang.org /dl/go${dlGoVersion}.windows-amd64.zip" C:\go.zip; `
227+ Download-File "https://go.dev /dl/go${dlGoVersion}.windows-amd64.zip" C:\go.zip; `
228228 `
229229 Write-Host INFO: Downloading compiler 1 of 3...; `
230230 Download-File https://raw.githubusercontent.com/moby/docker-tdmgcc/master/gcc.zip C:\gcc.zip; `
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ Try {
459459 if (-not $inContainer ) { Verify- GoVersion }
460460
461461 # Verify GOPATH is set
462- if ($env: GOPATH.Length -eq 0 ) { Throw " Missing GOPATH environment variable. See https://golang.org/doc/code.html#GOPATH " }
462+ if ($env: GOPATH.Length -eq 0 ) { Throw " Missing GOPATH environment variable. See https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable " }
463463
464464 # Run autogen if building daemon.
465465 if ($Daemon ) {
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ if [ "$AUTO_GOPATH" ]; then
7979fi
8080
8181if [ ! " $GOPATH " ]; then
82- echo >&2 ' error: missing GOPATH; please see https://golang.org/doc/code.html#GOPATH '
82+ echo >&2 ' error: missing GOPATH; please see https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable '
8383 echo >&2 ' alternatively, set AUTO_GOPATH=1'
8484 exit 1
8585fi
You can’t perform that action at this time.
0 commit comments