1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00
goreleaser/www/docs/cookbooks/cgo-and-crosscompiling.md
Carlos A Becker b958a15183
docs: podman on goreleaser-pro
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-03 22:19:16 +00:00

6 lines
418 B
Markdown

# Cross-compiling Go with CGO
Best option to cross-compile Go project with CGO dependencies would be in using Docker image.
[This project](https://github.com/troian/golang-cross) provides the [image](https://hub.docker.com/repository/docker/troian/golang-cross) with bunch of ready to use cross-compilers as well as how-to make sysroot.
All that wrapped into [example](https://github.com/troian/golang-cross-example)