Goreleaser with libariers for alsa and node
- Dockerfile 100%
| Dockerfile | ||
| README.md | ||
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 macOSlibasound2-dev— ALSA audio development headers for amd64, arm64 and armhfNode.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.