Alpine Linux 3.4 Docker image for Golang 1.6.2 Development. Image size about 365 MB, with gcc, g++. You can use this image for development phase with interactive Alpine shell.
You can see in docker-compose.yml and example folder or
Create docker-compose.yml
version: '2'
services:
app:
image: dogrocker/alpine-go-dev
volumes:
- "./src:/go/src"
Start docker container with
$ docker-compose run --rm app sh -l
or If you run Go web server
$ docker-compose run --rm -p "8888:8080" app sh -l
Then in docker container create .go file and run
$ go run example/main.go
Hello, playground