Merge pull request #39585 from thaJeztah/trim_the_zero

Dockerfile.windows: trim .0 from Go versions
This commit is contained in:
Brian Goff 2019-07-22 10:47:21 -07:00 committed by GitHub
commit b00666366b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ RUN `
Download-File $location C:\gitsetup.zip; ` Download-File $location C:\gitsetup.zip; `
` `
Write-Host INFO: Downloading go...; ` Write-Host INFO: Downloading go...; `
Download-File $('https://golang.org/dl/go'+$Env:GO_VERSION+'.windows-amd64.zip') C:\go.zip; ` Download-File $('https://golang.org/dl/go'+$Env:GO_VERSION.TrimEnd('.0')"+'.windows-amd64.zip') C:\go.zip; `
` `
Write-Host INFO: Downloading compiler 1 of 3...; ` Write-Host INFO: Downloading compiler 1 of 3...; `
Download-File https://raw.githubusercontent.com/jhowardmsft/docker-tdmgcc/master/gcc.zip C:\gcc.zip; ` Download-File https://raw.githubusercontent.com/jhowardmsft/docker-tdmgcc/master/gcc.zip C:\gcc.zip; `