Windows Server Core image for building Go from source.
2.2K
Windows Server Core image for building Go from source.
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
Content type
Image
Digest
Size
240.5 MB
Last updated
about 8 years ago
docker pull sixeyed/golang