2018-12-25 23:04:29 UTC
544 MB
1.11.4
GOPATHC:\gopath
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 44.3% (241 MB)
[#001] sha256:6f2071dcd7294537bba55b3061704ef1370748e91982193b9e0fa4ebc114589b - 32.03% (174 MB)
[#002] sha256:1f72e042ba5d72d27b42026712df029a6a160e9acc59f0ec444c96e610f275d3 - 0.0% (956 Bytes)
[#003] sha256:f276a017370ba20669b97b2114e04abcb6fbc550935652a2fda2f21b007ceb70 - 0.0% (945 Bytes)
[#004] sha256:cd7c4aea0902cfd13e0323d30ee7bee7af103db8b0fa1448d30ad26575fd3279 - 0.17% (921 KB)
[#005] sha256:e85e1c50030900e63db429485d75fa5916705402df74f7fdeeb76613ad6364ab - 0.0% (946 Bytes)
[#006] sha256:060c370a3581a593951d7a3c7210764127cba4dafa4b0206d3f1235e14b267cb - 23.5% (128 MB)
[#007] sha256:b2de656a7d9b027fd7a0c548bd27e99599cfa6e9fd5fa372d61f16d9b846ff06 - 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:58:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.11.4
2018-12-25 23:04:27 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 = 'eeb20e21702f2b9469d9381df5de85e2f731b64a1f54effe196d0f7d0227fe14'; 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 23:04:29 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.