Namespace
library
Image / Tag
golang:1.6.3-windowsservercore
Content Digest
sha256:97c0865d1e7271da03d803996953a62c044a00a776802feed70c91c1e4461436
Details
Created

2016-11-15 00:12:37 UTC

Size

4.6 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

6a18e5ed8b39785338986aecc6a3f36f5c4be286ff52db0ae3bcd2275ab70df0

GOLANG_DOWNLOAD_URL

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

GOLANG_VERSION

1.6.3

GOPATH

C:\gopath


Layers

[#000] sha256:9c7f9c7d9bc2915388ecc5d08e89a7583658285469d7325281f95d8ee279cc60 - 75.69% (3.48 GB)

[#001] sha256:d33fff6043a134da85e10360f9932543f1dfc0c3a22e1edd062aa9b088a86c5b - 17.8% (838 MB)

[#002] sha256:f24cd6bb1240a6a8641fa44a4bbea3e59d3729b9e1513ca48370c4576b6fddea - 0.0% (1.19 KB)

[#003] sha256:dd7645d28b3cd95ddc8d13c2c6f12cdc918fa8c5d77d0a442aa3017d22bd29a0 - 0.0% (1.18 KB)

[#004] sha256:052537bc8cab14208c216f9848a018d5dfbf85df84eaabe1ae6383db468edab3 - 0.0% (1.19 KB)

[#005] sha256:f99eb53e693cfe38af4908f4cc9e6e230748da62e773d68aef7f841cbe77420a - 0.0% (1.18 KB)

[#006] sha256:ead631093fea13def778a37d8e80b33c1e401a28049dcbe6285c6744cd11307d - 0.0% (1.19 KB)

[#007] sha256:5c951cf6a3eb51ccc4b014dd2c3e1f544f7b70348b2216491ed6069e6ec4590f - 4.36% (205 MB)

[#008] sha256:4bbb107879204c0724de0afd90c998d9dd4875f59367262c46febd3e299f4567 - 0.0% (1.19 KB)

[#009] sha256:1560a26c42007b654b8230dfb9aefab7407fd118d2b92431c2ac028d46434b3c - 0.18% (8.45 MB)

[#010] sha256:d46a340df512b121fa3ef282f0849a0398002763e46efc2ba0871d7e50dfb5da - 0.0% (1.18 KB)

[#011] sha256:3c3dd5c7524a8e7ee84c9d54cb9f57983675829ce3b6da76946be93ee878682a - 0.0% (1.19 KB)

[#012] sha256:c6fec264a6821ec1bea767cf2cb1dbde70247a62465531386f29a5cb77890465 - 0.0% (1.18 KB)

[#013] sha256:80fe138675af58587537e45eb088615b726f7e74717ecc9a51a2943c537611ea - 1.97% (93 MB)

[#014] sha256:92f4d87db49fffa8f175ec7def8787b18b98d034116093c254f911f59e0fc62b - 0.0% (1.19 KB)


History
2016-11-15 00:01:58 UTC

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

2016-11-15 00:02:06 UTC

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

2016-11-15 00:02:11 UTC

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

2016-11-15 00:02:14 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-11-15 00:02:18 UTC

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

2016-11-15 00:07:14 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile '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-11-15 00:07:20 UTC

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

2016-11-15 00:07:45 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);

2016-11-15 00:07:48 UTC

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

2016-11-15 00:07:51 UTC

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

2016-11-15 00:07:54 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=6a18e5ed8b39785338986aecc6a3f36f5c4be286ff52db0ae3bcd2275ab70df0

2016-11-15 00:12:33 UTC

powershell -Command $ErrorActionPreference = 'Stop'; 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-11-15 00:12:37 UTC

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