Also works across git branches if you keep the intermediate build images around, e.g. those <none>
images in the docker images
output.
FROM golang:1.12 AS builder
# enable Go modules support
ENV GO111MODULE=on
WORKDIR $GOPATH/src/github.com/myrepo/myapp