Sign inSign up

sixeyed/golang

By sixeyed

•Updated almost 8 years ago

Windows Server Core image for building Go from source.

Image
0

2.2K

sixeyed/golang repository overview

⁠golang

Windows Server Core image for building Go⁠ from source⁠.

⁠Source

In sixeyed/dockers-windows⁠.

⁠Usage

Use this image as a base for images which build Go projects, and rely on the latest code.

E.g. the builder image for sixeyed/registry⁠ uses this image:

FROM sixeyed/golang:a2bd5c5-windowsservercore 
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

RUN .\go get github.com/docker/distribution/cmd/registry
    
CMD cp \"$env:GOPATH\bin\registry.exe\" c:\out\ ; `
    cp \"$env:GOPATH\src\github.com\docker\distribution\cmd\registry\config-example.yml\" c:\out\config.yml

Tag summary

Content type

Image

Digest

Size

240.5 MB

Last updated

about 8 years ago

docker pull sixeyed/golang