Skip to content

mitjaziv/go-loadlocation-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-loadlocation-docker

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/

Installing

To install example, install Go 1.9+ and run go get:

$ go get github.com/mitjaziv/go-loadlocation-docker

This will install the go-loadlocation-docker in to your $GOBIN path.

Example should be compatible also with older versions of Go.

Running

To start example locally, run following:

$ go-loadlocation-docker

Docker

For 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 docker

To start built container, run following:

$ docker run go-loadlocation-docker

About

Example of usage time.LoadLocation in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published