1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/www/docs/cookbooks/goreleaser-xx.md
CrazyMax caaa1b3947
docs: goreleaser-xx (#2782)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-06 15:32:26 -03:00

1.1 KiB

GoReleaser XX

goreleaser-xx is a small CLI wrapper for GoReleaser and available as a lightweight and multi-platform scratch Docker image to ease the integration and cross compilation in a Dockerfile for your Go projects using Buildx Docker component that enables many powerful build features with Moby BuildKit builder engine.

  • Handle --platform in your Dockerfile for multi-platform support
  • Build into any architecture
  • Handle C and C++ compilers for CGO dependencies
  • Translation of platform ARGs in the global scope into Go compiler's target
  • Auto generation of .goreleaser.yml config based on target architecture

Many examples are provided in the demo folder of the repository.