fix: 修复静态链接依赖和 Alpine execinfo 兼容性问题
Some checks failed
Build and Release Mond / build-and-test (arm64, ubuntu) (push) Failing after 29s
Build and Release Mond / build-and-test (amd64, ubuntu) (push) Failing after 38s
Build and Release Mond / build-and-test (amd64, alpine) (push) Successful in 2m48s
Build and Release Mond / build-and-test (arm64, alpine) (push) Successful in 7m0s
Build and Release Mond / release (push) Has been skipped

- Ubuntu: 添加静态链接所需的依赖包 (libevent-dev, libnettle-dev, libgmp-dev)
  解决 libunbound.a 引用的 event_*, nettle_*, __gmpz_* 未定义错误
- Alpine: 移除不存在的 libexecinfo-dev 包
- Alpine: 添加 -DSTACK_TRACE=OFF 禁用 stack trace 功能
  解决 musl libc 不支持 execinfo.h 的兼容性问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-15 12:24:54 +08:00
parent 9c9cd35349
commit 72fc96f67e
2 changed files with 4 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ RUN apt-get update && apt-get install -y \
protobuf-compiler \
libudev-dev \
libgtest-dev \
libevent-dev \
libnettle-dev \
libgmp-dev \
&& rm -rf /var/lib/apt/lists/*
FROM base AS build