2018-02-14 04:43:23 UTC
485 MB
1.8.7
GOPATHC:\gopath
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 49.66% (241 MB)
[#001] sha256:cb1aafb7147372cc64faa070b94a893b8cd2e3de3a0e8001dc225c627d991c58 - 30.03% (146 MB)
[#002] sha256:f0989bc431af6e98554c888dbe8a07881dbcb304436056a928c065a30bab3228 - 0.0% (955 Bytes)
[#003] sha256:9a10e240a0d9b03482aed491380671d57859198eafbda8110de185c471f74225 - 0.0% (927 Bytes)
[#004] sha256:0e65d31c52b391c008aa72447522ba44cfe7e7598eaf2381134c8372d9307ce2 - 0.17% (831 KB)
[#005] sha256:bda7bd935c428e5a70cdbbf392313dfd74c750356e480feadf33bd5d4f6015f3 - 0.0% (947 Bytes)
[#006] sha256:943e06cdaa375707b7cdf2a05fbbc133c47329a43715c222d3d9fdced4b191cf - 20.14% (97.7 MB)
[#007] sha256:d056573c32dcac8e76f34213e7726b305a8f39225b912beeefb8ec1f2fae9361 - 0.0% (1.12 KB)
Apply image 10.0.14393.0
2018-02-13 19:43:23 UTCInstall update 10.0.14393.2068
2018-02-14 03:41:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-02-14 03:41:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\gopath
2018-02-14 03:42:09 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-02-14 04:39:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.8.7
2018-02-14 04:43:21 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 = '633a28e72b95e8372e5416dd4723881d7a7109be08daf097ebce2679939f6a82'; 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-02-14 04:43:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\gopath
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.