github.com/goreleaser/goreleaser@v1.25.1/www/docs/cookbooks/goreleaser-xx.md (about) 1 # GoReleaser XX 2 3 [`goreleaser-xx`](https://github.com/crazy-max/goreleaser-xx#readme) is a small 4 CLI wrapper for GoReleaser and available as a [lightweight and multi-platform scratch Docker image](https://hub.docker.com/r/crazymax/goreleaser-xx/tags?page=1&ordering=last_updated) 5 to ease the integration and cross compilation in a Dockerfile for your Go 6 projects using [Buildx](https://github.com/docker/buildx) Docker component that 7 enables many powerful build features with [Moby BuildKit](https://github.com/moby/buildkit) 8 builder engine. 9 10 * Handle `--platform` in your Dockerfile for multi-platform support 11 * Build into any architecture 12 * Handle C and C++ compilers for [CGO dependencies](https://github.com/crazy-max/goreleaser-xx#cgo) 13 * Translation of [platform ARGs in the global scope](https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope) into Go compiler's target 14 * Auto generation of `.goreleaser.yml` config based on target architecture 15 16 Many examples are provided in the [`demo` folder](https://github.com/crazy-max/goreleaser-xx/tree/master/demo) 17 of the repository.