This repository provides a Go compiler environment for the ARM platform. Unlike the golang:alpine image, this one has Git installed so dependencies can be pulled in.
Assuming the package you are building is
github.com/test/pkg, one would invoke the container as follows:
docker run \ -it \ --rm \ -v `pwd`:/go/src/github.com/test/pkg \ -w /go/src/github.com/test/pkg \ nathanosman/alpine-golang-armhf \ go build -v
The container is based on
armhf/alpine, which appears to be updated on a regular basis. This repository is updated monthly using an automated Jenkins build.