Namespace
library
Image / Tag
golang:1.8beta1-windowsservercore
Content Digest
sha256:a166951071ac2873bb19fed856a28c47d8049477af0077105e91b445281b3804
Details
Created

2016-12-07 19:22:32 UTC

Size

4.62 GB

Content Digest
Environment
GIT_DOWNLOAD_SHA256

fd1937ea8468461d35d9cabfcdd2daa3a74509dc9213c43c2b9615e8f0b85086

GIT_DOWNLOAD_URL

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

GIT_TAG

v2.11.0.windows.1

GIT_VERSION

2.11.0

GOLANG_DOWNLOAD_SHA256

7b246c37dfe37348a16b6bc1865ebc21a79c4fd869032fba78c65e46b11b741b

GOLANG_DOWNLOAD_URL

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

GOLANG_VERSION

1.8beta1

GOPATH

C:\gopath


Layers

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

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

[#002] sha256:6029883041761bd943c2b92d3cab623072e9f7f28eb678a87949cb1bd4808b5e - 0.0% (1.18 KB)

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

[#004] sha256:1601856818ffb47a6b00b190d75f421b78c992478cecd1e71da0328291138565 - 0.0% (1.19 KB)

[#005] sha256:8ad2276f400f6794ce4db833400ab6929750a42c4784784cefc25065ccf39476 - 0.0% (1.19 KB)

[#006] sha256:df29c954d7fdbe9041a8f57e7ea9b78e57fdc80851be276ae15748f946dd496f - 0.0% (1.18 KB)

[#007] sha256:a7d3cbf0e0f246e09a2e0d8ba9d15eb13e131f47ee5976fa0c24519c9c9d558e - 4.61% (218 MB)

[#008] sha256:7f9406f96f0c1ea3e2dd48b68dcd30341f5f610285b683d436c4b1b66ed73d14 - 0.0% (1.19 KB)

[#009] sha256:453ac9e301a08beecf1a26058ed6bf843e5672c34573952edf067e54a5a6f8b8 - 0.18% (8.48 MB)

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

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

[#012] sha256:1f6d2ca9278a1f8361f25d9300c9ac120adac58b91bb4536874940926b37a0a5 - 0.0% (1.19 KB)

[#013] sha256:668fb4708b6111182e4c2bc8e916be7bc57a30831184c3cb8aabb6d7be83a495 - 2.05% (96.7 MB)

[#014] sha256:0120dc8a350c3a036051d7dfd1016bb81422c8e6c608cde826df814d84929579 - 0.0% (1.18 KB)


History
2016-12-01 23:38:44 UTC

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

2016-12-07 19:04:35 UTC

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

2016-12-07 19:04:37 UTC

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

2016-12-07 19:04:40 UTC

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

2016-12-07 19:04:43 UTC

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

2016-12-07 19:08:48 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.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-12-07 19:08:51 UTC

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

2016-12-07 19:09:14 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);

2016-12-07 19:17:57 UTC

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

2016-12-07 19:18:00 UTC

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

2016-12-07 19:18:03 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=7b246c37dfe37348a16b6bc1865ebc21a79c4fd869032fba78c65e46b11b741b

2016-12-07 19:22:28 UTC

powershell -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-07 19:22:32 UTC

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