Closed christianmahardhika closed 2 months ago
Hi @christianmahardhika we do not support musl yet. This is our support matrix:
https://github.com/gorules/zen?tab=readme-ov-file#support-matrix
Best regards, Ivan
Appreciate for the answer @ivanmiletic
Hello Zen-Go maintainers,
I've encountered an issue when trying to build the zen-go package with the condition
CGO_ENABLED=0
. Here's a brief description of the problem and the context in which it occurs:Issue Description: When building the zen-go package with
CGO_ENABLED=0
, the build process fails. This issue arises when attempting to create a Docker container based on Alpine Linux, which usesmusl libc
instead ofglibc
. The zen-go package seems to have dependencies or components that require CGO, which in turn relies onglibc
.Steps to Reproduce:
CGO_ENABLED=0
.GOOS=linux go build -o bin/main cmd/main.go
.Expected Behavior: The binary should build without issues and run successfully in an Alpine-based Docker environment.
Actual Behavior: The build process fails, indicating a dependency on CGO-enabled libraries that are not compatible with
musl libc
.Environment:
I believe this is an important compatibility issue that could affect anyone looking to deploy zen-go in a minimal Docker environment like Alpine. Any guidance or fixes would be greatly appreciated.
Thank you for your attention to this matter.
Best regards, Christian