Namespace
library
Image / Tag
golang:1.9rc2-windowsservercore
Content Digest
sha256:fefb206d8964905cb86694313495d7cad8337f6d35fff5726649b8bc83a0587e
Details
Created

2017-08-08 17:54:30 UTC

Size

5.07 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

668d16a799dd721ed126cc91bed49eb2c072ba1b25b50048280a4e2c5ed56e59

GIT_DOWNLOAD_URL

https://github.com/git-for-windows/git/releases/download/v2.11.1.windows.1/MinGit-2.11.1-64-bit.zip

GIT_TAG

v2.11.1.windows.1

GIT_VERSION

2.11.1

GOLANG_VERSION

1.9rc2

GOPATH

C:\gopath


Layers

[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 74.82% (3.79 GB)

[#001] sha256:e29afd68a947fc566b71a432a6df352eea9e59eb221c3cb9f6bf5a4df206571e - 22.53% (1.14 GB)

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

[#003] sha256:3e30e1b2d39b5701d2da02904a87709fd39a6b10293ef7b88e9462a3ae728a28 - 0.0% (1.2 KB)

[#004] sha256:31fc759b266aca88b51a7756cd4113bccb1c0dc768778339d130e7beeefc1435 - 0.0% (1.19 KB)

[#005] sha256:6ea2f49ce85160cd30e367cc22df74ae740290608771e983e5b4680acff42019 - 0.0% (1.2 KB)

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

[#007] sha256:a7d0eee0957e14c721719051a42ed590f90382daed857af69ec67c195e766332 - 0.54% (27.8 MB)

[#008] sha256:2578957b53a2c7e8f48ce9742946b22afa9f4d58df393c436edc651543da1955 - 0.0% (1.2 KB)

[#009] sha256:895188475ac2f7d1831f038b1f62e67441927f9cd03c729526e420e2ede5d795 - 0.09% (4.52 MB)

[#010] sha256:ed4b2a03d939f546a1958a683739189db241f5bb7015054865dea6816b11be87 - 0.0% (1.21 KB)

[#011] sha256:60566750287df1a1962f6a62b5c969171f9478d71e8a47c1d8058e39b3b45a54 - 2.03% (105 MB)

[#012] sha256:83945aa047a85e92402c37cfc7743d7c8f5dd96185bd5e698e1137027b1f6012 - 0.0% (1.19 KB)


History
2016-12-13 10:53:31 UTC

Apply image 10.0.14393.0

2017-07-10 22:35:45 UTC

Install update 10.0.14393.1480

2017-07-28 18:29:56 UTC

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

2017-07-28 18:29:59 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_VERSION=2.11.1

2017-07-28 18:30:03 UTC

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

2017-07-28 18:30:05 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v2.11.1.windows.1/MinGit-2.11.1-64-bit.zip

2017-07-28 18:30:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GIT_DOWNLOAD_SHA256=668d16a799dd721ed126cc91bed49eb2c072ba1b25b50048280a4e2c5ed56e59

2017-07-28 18:31:10 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:GIT_DOWNLOAD_URL); Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile 'git.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); if ((Get-FileHash git.zip -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive -Path git.zip -DestinationPath C:\git\.; Write-Host 'Removing ...'; Remove-Item git.zip -Force; Write-Host 'Updating PATH ...'; $env:PATH = 'C:\git\cmd;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 'Complete.';

2017-07-28 18:31:13 UTC

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

2017-07-28 18:31:37 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $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);

2017-08-08 17:50:41 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_VERSION=1.9rc2

2017-08-08 17:54:28 UTC

powershell -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 = '9bd0642fe169723732adc3300dda9b0fdf5f1ff7fab921553d2a4f482c677a3f'; 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.';

2017-08-08 17:54:30 UTC

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