Goreleaser with libariers for alsa and node
  • Dockerfile 100%
Find a file
Philipp Neumann 0310c262d1 Initial commit
2026-04-16 10:34:07 +02:00
Dockerfile Initial commit 2026-04-16 10:34:07 +02:00
README.md Initial commit 2026-04-16 10:34:07 +02:00

goreleaser-cross-builder

A Docker image for cross-compiling Go projects that use CGo audio libraries, based on goreleaser-cross.

What's included

  • goreleaser-cross:v1.25-vv2.15.2 — cross-compilation toolchains for Linux, Windows and macOS
  • libasound2-dev — ALSA audio development headers for amd64, arm64 and armhf
  • Node.js 22 — for building frontend assets before releasing

Supported targets

OS Arch Toolchain
Linux amd64 native gcc
Linux arm64 aarch64-linux-gnu-gcc
Linux armv7 arm-linux-gnueabihf-gcc
Windows amd64 x86_64-w64-mingw32-gcc
Windows arm64 aarch64-w64-mingw32-gcc
macOS amd64 o64-clang
macOS arm64 oa64-clang

Usage

container:
  image: git.nerdberg.de/philmacfly/goreleaser-cross-builder:latest

Updating

When goreleaser-cross releases a new version, update the FROM line in the Dockerfile and push a new tag.