2018-12-25 22:37:17 UTC
547 MB
1.12beta1
GOPATHC:\gopath
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 44.05% (241 MB)
[#001] sha256:6f2071dcd7294537bba55b3061704ef1370748e91982193b9e0fa4ebc114589b - 31.85% (174 MB)
[#002] sha256:1f72e042ba5d72d27b42026712df029a6a160e9acc59f0ec444c96e610f275d3 - 0.0% (956 Bytes)
[#003] sha256:f276a017370ba20669b97b2114e04abcb6fbc550935652a2fda2f21b007ceb70 - 0.0% (945 Bytes)
[#004] sha256:cd7c4aea0902cfd13e0323d30ee7bee7af103db8b0fa1448d30ad26575fd3279 - 0.16% (921 KB)
[#005] sha256:4a56f5d33b1310378537b1d2089c59c8fc71167ba02dbf89978c4e27264cfd39 - 0.0% (942 Bytes)
[#006] sha256:0b58ee01e1e14619f5605acc98392403b42b5e7f188a8fd269f012c1baa18856 - 23.94% (131 MB)
[#007] sha256:da5d1145e42ee12141240c0195feeecae6379d3e7f4ad90ac80d135000464abe - 0.0% (1.13 KB)
Apply image 10.0.14393.0
2018-10-09 18:02:39 UTCInstall update 10.0.14393.2551
2018-12-25 18:43:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-12-25 22:29:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\gopath
2018-12-25 22:30:33 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;
2018-12-25 22:30:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.12beta1
2018-12-25 22:37:15 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 = '167824d31e5a75a89e0ee159561042e144498f8f2cc725767277ccbcf749684b'; 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.';
2018-12-25 22:37:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\gopath