This is the code for the tutorial on how to Dockerise a Go service.
In this tutorial you will learn:
How to run basic Docker commands to build an image and run a container.
How to use the golang base image to build a Go service.
How to configure git to fetch packages from a private github repository.
And finally how to use Docker's multi-stage builds and Go's ldflags to massively reduce the final image size.
go get -u go.xitonix.io/dockered