Namespace
library
Image / Tag
golang:1.7-nanoserver
Content Digest
sha256:5456155716cd4fdc9179750be107c0ae80e1281fee44769ff78c6fcdcd1545f2
Details
Created

2017-07-28 18:51:09 UTC

Size

450 MB

Content Digest
Environment
GOLANG_VERSION

1.7.6

GOPATH

C:\gopath


Layers

[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 53.61% (241 MB)

[#001] sha256:baa0507b781fcbf25230671393ddd64a7028872f57c375e758e9d11335cdc4ab - 27.61% (124 MB)

[#002] sha256:815a90c7de022ec1ac26cff95bb4490cdfa114edbe90c97dad360471afc1acdf - 0.0% (959 Bytes)

[#003] sha256:4d0884473bda07c79dea6c1ba8a548ab14b92a4017e270cb9f6a13e62f73344f - 0.0% (960 Bytes)

[#004] sha256:a5b794d483efa6f708f8df6b786860975ae714a6432a3dee64a8e7e637118fa6 - 0.17% (800 KB)

[#005] sha256:ecf2de31a1305e5b2895b5be26ee8e9eb3da7a336ae75eaaba23a15af7421b59 - 0.0% (955 Bytes)

[#006] sha256:291ebae9ce81f10649b4360f5d5a21660f8418c9909982ebd197a788ecdcdd2c - 18.6% (83.6 MB)

[#007] sha256:bdd895070105feb5db3cdac691433e6e2f53d5d79b14424662828c252b564ea2 - 0.0% (958 Bytes)


History
2016-12-13 10:47:17 UTC

Apply image 10.0.14393.0

2017-07-10 22:35:12 UTC

Install update 10.0.14393.1480

2017-07-28 18:35:25 UTC

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

2017-07-28 18:35:27 UTC

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

2017-07-28 18:35:51 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); setx /M PATH $newPath;

2017-07-28 18:48:32 UTC

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

2017-07-28 18:51:07 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 = '3c648f9b89b7e0ed746c211dbf959aa230c8034506dd70c9852bf0f94d06065d'; 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-07-28 18:51:09 UTC

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