2016-08-16 16:49:07 UTC
3.52 GB
006d971bcbe73cc8d841a100a4eb20d22e135142bf5b0f2120722fd420e166e5
GIT_DOWNLOAD_URLhttps://github.com/git-for-windows/git/releases/download/v2.9.2.windows.1/Git-2.9.2-64-bit.exe
GIT_TAGv2.9.2.windows.1
GIT_VERSION2.9.2
GOLANG_DOWNLOAD_SHA256f51aad06644cc8bd119d2f6933334fa8da24d26e6676fde022cecf5978f1a0c7
GOLANG_DOWNLOAD_URLhttps://golang.org/dl/go1.7.windows-amd64.zip
GOLANG_VERSION1.7
GOPATHC:\gopath
[#000] sha256:1239394e5a8ab79fbd3b751dc5d98decf5886f14339958fdf5c1f96c89da58a7 - 91.54% (3.22 GB)
[#001] sha256:be0175dbdd12c150c89a273c6ae8a093858f186a1b130670b81917d39cfc62c3 - 0.0% (1.32 KB)
[#002] sha256:5a9f7fc8b1eb04be3a8b1a8fc1f9e6c7a1e41689a2676e152c25d9358dee1341 - 0.0% (1.33 KB)
[#003] sha256:94bdc4e8ef7ba6e9f01909b8cb91c6a122e96baef29babe69a01102bcae148c9 - 0.0% (1.32 KB)
[#004] sha256:45bbfdc9f3a15e9a0bde254b6ab26f6f076cf940ef39c7d7176f7642275bbfda - 0.0% (1.31 KB)
[#005] sha256:8b64b13a7ee93c6f86303ad2fe1d9185da583cd6e7ab1671efe67b13e2993a11 - 0.0% (1.32 KB)
[#006] sha256:4e143173cb47f97febd951190e060d115fa15cf474acfb5759c8b410b45a1087 - 5.89% (212 MB)
[#007] sha256:de436d4008dda1c26e300dd25d9cc67c8a59a2c0547febbcad41ae4499ea8882 - 0.0% (1.32 KB)
[#008] sha256:230b17b0e770bf3e266ac0f228d84bf32d942d15e3e5c57d4ec1e5061aa3e51e - 0.11% (3.84 MB)
[#009] sha256:2447de67ea2419aa2f8028e0fddf31710545f9ee8c9c813e1888f219a6614959 - 0.0% (1.31 KB)
[#010] sha256:b2bbaa533ba7033fdaacd5a996517393d2c8220f7965dcbd6658800f6d1b75fe - 0.0% (1.32 KB)
[#011] sha256:02b47bb2bb68a606c91182bcd7724b7723f48341d6c24256e75c9b9d3a57b3f8 - 0.0% (1.31 KB)
[#012] sha256:8835a8eeea92e980cb5e8a4deddb8dc46d36795c13a7aa2ff3a9c22a91e5c95d - 2.46% (88.9 MB)
[#013] sha256:a4af9de300cbd6f3f16e1daa9512a23f54638eb19f1db4a6f2da293febc25dea - 0.0% (1.32 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2016-08-12 17:01:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_VERSION=2.9.2
2016-08-12 17:01:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_TAG=v2.9.2.windows.1
2016-08-12 17:02:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.9.2.windows.1/Git-2.9.2-64-bit.exe
2016-08-12 17:03:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_DOWNLOAD_SHA256=006d971bcbe73cc8d841a100a4eb20d22e135142bf5b0f2120722fd420e166e5
2016-08-12 23:47:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); (New-Object System.Net.WebClient).DownloadFile($env:GIT_DOWNLOAD_URL, 'git.exe'); Write-Host ('Verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); if ((Get-FileHash git.exe -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Installing ...'; Start-Process -Wait -FilePath ./git.exe -ArgumentList @( '/VERYSILENT', '/NORESTART', '/NOCANCEL', '/SP-', '/SUPPRESSMSGBOXES', '/COMPONENTS=assoc_sh', '/DIR=C:\git' ); Write-Host 'Updating PATH ...'; $env:PATH = 'C:\git\bin;C:\git\mingw64\bin;C:\git\usr\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' git --version'; git --version; Write-Host ' bash --version'; bash --version; Write-Host ' curl --version'; curl.exe --version; Write-Host 'Removing installer ...'; Remove-Item git.exe -Force; Write-Host 'Complete.';
2016-08-12 23:47:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOPATH=C:\gopath
2016-08-12 23:47:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; [Environment]::SetEnvironmentVariable('PATH', $env:GOPATH + '\bin;C:\go\bin;' + $env:PATH, [EnvironmentVariableTarget]::Machine);
2016-08-16 00:03:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_VERSION=1.7
2016-08-16 16:43:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_URL=https://golang.org/dl/go1.7.windows-amd64.zip
2016-08-16 16:43:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=f51aad06644cc8bd119d2f6933334fa8da24d26e6676fde022cecf5978f1a0c7
2016-08-16 16:49:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:GOLANG_DOWNLOAD_URL); (New-Object System.Net.WebClient).DownloadFile($env:GOLANG_DOWNLOAD_URL, '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-08-16 16:49:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(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.