Skip to content

mailchain/goreleaser-xcgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goreleaser-xcgo

Software License Travis

Docker container to do cross compilation (linux, windows, OSX) of go packages including support for cgo. Created for Mailchain can be used with any go project.

Docker

Find it on docker hub https://hub.docker.com/r/mailchain/goreleaser-xcgo or run

docker run --rm --privileged \
  -v $PWD:/go/src/github.com/mailchain/mailchain \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -w /go/src/github.com/mailchain/mailchain \
  mailchain/goreleaser-xcgo --snapshot --rm-dist

Travis

To see an example of it running in travis check out https://github.com/mailchain/mailchain/blob/master/.travis.yml