1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/www/docs/cookbooks/cgo-and-crosscompiling.md
Artur Troian ca361f6f1c
docs(cookbooks): update links to the new goreleaser-cross home (#2851)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2022-01-27 13:03:25 -03:00

6 lines
450 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/goreleaser/goreleaser-cross) provides the docker [images](https://hub.docker.com/repository/docker/goreleaser/goreleaser-cross) with bunch of ready to use cross-compilers as well as how-to make sysroot.
All that wrapped into [example](https://github.com/goreleaser/goreleaser-cross-example)