Namespace
library
Image / Tag
golang:1.5.4-windowsservercore
Content Digest
sha256:967cef266aee951254cb3db943dd5f3018b9d7dd5f12ea0215c0b57083c60ac4
Details
Created

2016-08-12 23:52:43 UTC

Size

3.52 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

006d971bcbe73cc8d841a100a4eb20d22e135142bf5b0f2120722fd420e166e5

GIT_DOWNLOAD_URL

https://github.com/git-for-windows/git/releases/download/v2.9.2.windows.1/Git-2.9.2-64-bit.exe

GIT_TAG

v2.9.2.windows.1

GIT_VERSION

2.9.2

GOLANG_DOWNLOAD_SHA256

1201053d5659a5fc5c82dff58c3eaee66ecd02901621725cfdfff1681278bd1a

GOLANG_DOWNLOAD_URL

https://golang.org/dl/go1.5.4.windows-amd64.zip

GOLANG_VERSION

1.5.4

GOPATH

C:\gopath


Layers

[#000] sha256:1239394e5a8ab79fbd3b751dc5d98decf5886f14339958fdf5c1f96c89da58a7 - 91.58% (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:2bf0955c11de0b95e8203510a4fe5ac58b38cc836d793c66bc912c034f9f1204 - 0.0% (1.32 KB)

[#010] sha256:990e2857ede8718e8ff6cd30971bcddc8c67a56da56b67fd18844fbcd3692900 - 0.0% (1.31 KB)

[#011] sha256:e5e006578042f1514137e877690dc9d7fcc6da913bcb3c415be17e01b8f1d4e2 - 0.0% (1.31 KB)

[#012] sha256:0b40b6391c24b435048beb0dafab9d85fbf5296d0f8fc6831cfc8d2f837aa6d8 - 2.42% (87.1 MB)

[#013] sha256:58bb831f479563bbdfabcfc48d4800e01f09abf4246273dbdac5417ec7c0870d - 0.0% (1.32 KB)


History
2016-08-12 17:01:50 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2016-08-12 17:01:53 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_VERSION=2.9.2

2016-08-12 17:01:58 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_TAG=v2.9.2.windows.1

2016-08-12 17:02:02 UTC

powershell -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 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_DOWNLOAD_SHA256=006d971bcbe73cc8d841a100a4eb20d22e135142bf5b0f2120722fd420e166e5

2016-08-12 23:47:32 UTC

powershell -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 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOPATH=C:\gopath

2016-08-12 23:47:57 UTC

powershell -Command $ErrorActionPreference = 'Stop'; [Environment]::SetEnvironmentVariable('PATH', $env:GOPATH + '\bin;C:\go\bin;' + $env:PATH, [EnvironmentVariableTarget]::Machine);

2016-08-12 23:48:00 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_VERSION=1.5.4

2016-08-12 23:48:04 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_URL=https://golang.org/dl/go1.5.4.windows-amd64.zip

2016-08-12 23:48:06 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=1201053d5659a5fc5c82dff58c3eaee66ecd02901621725cfdfff1681278bd1a

2016-08-12 23:52:39 UTC

powershell -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-12 23:52:43 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) WORKDIR C:\gopath