Skip to content

Conversation

@majiayu000
Copy link
Contributor

Fixes #385

Changes

  • Add CGO_ENABLED=0 to Dockerfile build command for Alpine compatibility

The Docker image was failing to run because the Go binary was
dynamically linked against glibc, but Alpine uses musl libc.
Setting CGO_ENABLED=0 produces a statically linked binary that
works correctly on Alpine.

Fixes antonmedv#385

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
@antonmedv antonmedv merged commit 3c6e1bd into antonmedv:master Dec 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

antonmedv/fx Docker image cannot run fx

2 participants