Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 946 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 946 Bytes

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