2017-07-28 18:39:10 UTC
463 MB
1.9beta2
GOPATHC:\gopath
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 52.07% (241 MB)
[#001] sha256:baa0507b781fcbf25230671393ddd64a7028872f57c375e758e9d11335cdc4ab - 26.82% (124 MB)
[#002] sha256:815a90c7de022ec1ac26cff95bb4490cdfa114edbe90c97dad360471afc1acdf - 0.0% (959 Bytes)
[#003] sha256:4d0884473bda07c79dea6c1ba8a548ab14b92a4017e270cb9f6a13e62f73344f - 0.0% (960 Bytes)
[#004] sha256:a5b794d483efa6f708f8df6b786860975ae714a6432a3dee64a8e7e637118fa6 - 0.17% (800 KB)
[#005] sha256:c938632d24c79c97357ed6149d765be01697e2666e3e515789a65e44a7d5188f - 0.0% (953 Bytes)
[#006] sha256:d27c2244267cf15da0d0fd9755ba0f3388e29627502bc98753f1f6967acbeb95 - 20.94% (96.9 MB)
[#007] sha256:3b440547ce913e4fcc511d569d7f7a75c1f805ab778b11eaab7e87649da507b6 - 0.0% (957 Bytes)
Apply image 10.0.14393.0
2017-07-10 22:35:12 UTCInstall update 10.0.14393.1480
2017-07-28 18:35:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2017-07-28 18:35:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\gopath
2017-07-28 18:35:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath;
2017-07-28 18:35:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.9beta2
2017-07-28 18:39:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://golang.org/dl/go{0}.windows-amd64.zip' -f $env:GOLANG_VERSION); Write-Host ('Downloading {0} ...' -f $url); Invoke-WebRequest -Uri $url -OutFile 'go.zip'; $sha256 = '692460aacdbfa2c36765955ede95b1c6c8b3b7afdbe8f9149947ac81e4378f2e'; Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive go.zip -DestinationPath C:\; Write-Host 'Verifying install ("go version") ...'; go version; Write-Host 'Removing ...'; Remove-Item go.zip -Force; Write-Host 'Complete.';
2017-07-28 18:39:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\gopath