2016-12-02 00:08:00 UTC
420 MB
7b246c37dfe37348a16b6bc1865ebc21a79c4fd869032fba78c65e46b11b741b
GOLANG_DOWNLOAD_URLhttps://golang.org/dl/go1.8beta1.windows-amd64.zip
GOLANG_VERSION1.8beta1
GOPATHC:\gopath
[#000] sha256:5496abde368a3dd39999745bf998c877ddc6a390a943bc3fd99ffaabf728ed88 - 55.11% (231 MB)
[#001] sha256:482ab31872a23b32cbdeca13edb7a0b97290714c0b5edcce96fbb3e34221ea91 - 22.83% (95.9 MB)
[#002] sha256:66c4c0000446f244c31261d2b9981fcba14207a8a48ab548fc937eeb7e898899 - 0.0% (952 Bytes)
[#003] sha256:fadb3cd88a6267200344acf26b376f4eb2bbe1e27a468e0439cdfabd52856aba - 0.0% (955 Bytes)
[#004] sha256:6ad305fc60a3da44f0d081e690f57a4dd19f978de968be84957950b1bcbcaa92 - 0.19% (835 KB)
[#005] sha256:47605440cb618468a614e85c67a6db4d98fb1fe289014e40d2d37f1fe840d73d - 0.0% (958 Bytes)
[#006] sha256:96084db4b2f34b00ee8dd5c78de880bf203f423ffdf7b9c6ab40a55cd5266a36 - 0.0% (956 Bytes)
[#007] sha256:9ec74f4fbdb1a05201a0d64cc8555f4ddad994a7747be1b39f718285dda778ee - 0.0% (953 Bytes)
[#008] sha256:9e992dbd8d85cd9c10ea14ae648848ddb61ebe0ab544e208e3239e489de2c561 - 21.86% (91.8 MB)
[#009] sha256:3421fbcb133efba70c9d624a16e5dcd4331243bdbfd9fc17e641637e2067dd03 - 0.0% (955 Bytes)
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2016-12-01 23:47:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOPATH=C:\gopath
2016-12-01 23:47: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;
2016-12-02 00:03:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.8beta1
2016-12-02 00:03:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_DOWNLOAD_URL=https://golang.org/dl/go1.8beta1.windows-amd64.zip
2016-12-02 00:03:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=7b246c37dfe37348a16b6bc1865ebc21a79c4fd869032fba78c65e46b11b741b
2016-12-02 00:07:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:GOLANG_DOWNLOAD_URL); Invoke-WebRequest -Uri $env:GOLANG_DOWNLOAD_URL -OutFile 'go.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:GOLANG_DOWNLOAD_SHA256); if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $env:GOLANG_DOWNLOAD_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.';
2016-12-02 00:08:00 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.