2018-10-03 10:11:26 UTC
506 MB
1.10.4
GOPATHC:\gopath
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 47.67% (241 MB)
[#001] sha256:b1b0c61be11f6d053756595f70211e6044137b150fc1cc23d52ee0852eaf9146 - 34.06% (172 MB)
[#002] sha256:d47ca3c2a708c20309f263de7441f23acb1e8b76c56c75bcc314d2af593e2d17 - 0.0% (951 Bytes)
[#003] sha256:2beb060d746862a2aeaaeb2e761a5fe91f07420d6d296322f895a574e265d086 - 0.0% (954 Bytes)
[#004] sha256:f865f947b98c9efc30d19e4f835306b3d3ba08dd6ce301f2cfb0b67ab93dd46c - 0.18% (929 KB)
[#005] sha256:4ddd0db28f13531bca995cf2012ba25ac146cd5d6ed64812e0ded8225460dced - 0.0% (949 Bytes)
[#006] sha256:8b3d1b668b07cf94991649797b5f86af917b1fedbd9a8b70bda392e4437d3e68 - 18.09% (91.5 MB)
[#007] sha256:0aa157234f6a14d5500f3b456fdb6f976c1e9257ab0b41516d9c4d570eb3a0d9 - 0.0% (1.13 KB)
Apply image 10.0.14393.0
2018-09-11 16:53:25 UTCInstall update 10.0.14393.2485
2018-09-13 10:13:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-10-03 09:43:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\gopath
2018-10-03 09:43:53 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-10-03 10:06:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.10.4
2018-10-03 10:11:24 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 = '5499aa98399664df8dc1da5c3aaaed14b3130b79c713b5677a0ee9e93854476c'; 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-10-03 10:11:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\gopath