Namespace
library
Image / Tag
golang:1.7.3-nanoserver
Content Digest
sha256:cb1fd3e8207e96cf886553fd096eb9f5ad7d9431548d684fe9e3d7c3140bfcb3
Details
Created

2016-11-15 00:31:28 UTC

Size

414 MB

Content Digest
Environment
GOLANG_DOWNLOAD_SHA256

9fe41313b97e2a6a703f5ae22938c7d9ac4336a128b522376c224ba97e8c7f01

GOLANG_DOWNLOAD_URL

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

GOLANG_VERSION

1.7.3

GOPATH

C:\gopath


Layers

[#000] sha256:5496abde368a3dd39999745bf998c877ddc6a390a943bc3fd99ffaabf728ed88 - 55.87% (231 MB)

[#001] sha256:482ab31872a23b32cbdeca13edb7a0b97290714c0b5edcce96fbb3e34221ea91 - 23.15% (95.9 MB)

[#002] sha256:5754f9d84935d359a6194ff6aca82b2a08535f7bdc4855c50b91d6797af47d75 - 0.0% (961 Bytes)

[#003] sha256:27b7b304de65cc2507006afb90d24f8e6b039d0ccb277fa8bb150ff074cbb6df - 0.0% (955 Bytes)

[#004] sha256:dea80931ba5ad3798a845960ea41f81eb9f54ef55e6b4f88c692ac46f6ec5925 - 0.2% (835 KB)

[#005] sha256:f9ff100f0ebacf56a1d535a9c35ef60f85259e427273b70b9a6d2449586b959a - 0.0% (969 Bytes)

[#006] sha256:b72e0a3c786336da6838973026a2b0deb848a3843c96665a46efd2486c3aa810 - 0.0% (950 Bytes)

[#007] sha256:0ba2034c36d02c6656415b8f5dc2d13cdaf54d82d9a651c1cee8b0c3d255bca9 - 0.0% (954 Bytes)

[#008] sha256:b7041210c8bf8af29c3765b64bdf96718582e100364e16fefd424cc99dba4819 - 20.78% (86.1 MB)

[#009] sha256:a11cdb5aca1af98d4bd68236828b3044856a89ecafe8d302f49d3eca7d6cece0 - 0.0% (962 Bytes)


History
2016-11-15 00:14:23 UTC

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

2016-11-15 00:14:25 UTC

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

2016-11-15 00:15:00 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $newPath = ('{0}\bin;C:\go\bin;{1}' -f $env:GOPATH, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath;

2016-11-15 00:26:30 UTC

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

2016-11-15 00:26:33 UTC

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

2016-11-15 00:26:35 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GOLANG_DOWNLOAD_SHA256=9fe41313b97e2a6a703f5ae22938c7d9ac4336a128b522376c224ba97e8c7f01

2016-11-15 00:31:25 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:31:28 UTC

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