The idea of this example was to show problems with usage of time.LocalLocation in docker container. You can read complete blog post here http://pouzek.si/blog/go-loadlocation-docker/
To install example, install Go 1.9+ and run go get:
$ go get github.com/mitjaziv/go-loadlocation-dockerThis will install the go-loadlocation-docker in to your $GOBIN path.
Example should be compatible also with older versions of Go.
To start example locally, run following:
$ go-loadlocation-dockerFor docker test you need to have installed docker on your machine.
To build docker container, run following:
$ cd $GOPATH/src/github.com/mitjaziv/go-loadlocation-docker
$ make dockerTo start built container, run following:
$ docker run go-loadlocation-docker