fix: 修复 Ubuntu 运行时依赖和 Alpine 编译错误
Some checks failed
Build and Release Mond / build-and-test (arm64, alpine) (push) Failing after 23s
Build and Release Mond / build-and-test (amd64, alpine) (push) Failing after 31s
Build and Release Mond / build-and-test (amd64, ubuntu) (push) Failing after 2m3s
Build and Release Mond / build-and-test (arm64, ubuntu) (push) Failing after 4m39s
Build and Release Mond / release (push) Has been skipped

- docker/Dockerfile.ubuntu: 添加 -DSTATIC=ON 参数启用静态链接
  解决了 scratch 镜像中缺少动态库 (libboost_chrono.so) 的运行时错误

- docker/Dockerfile.alpine: 添加 libexecinfo-dev 包
  解决了 musl libc 缺少 execinfo.h 头文件的编译错误

修复平台:
- Ubuntu (amd64/arm64) - 运行时依赖问题
- Alpine (amd64/arm64) - execinfo.h 编译错误
This commit is contained in:
2025-12-15 12:15:47 +08:00
parent 677230616c
commit 9c9cd35349
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ RUN apk add --no-cache \
unbound-dev \
libsodium-dev \
libunwind-dev \
libexecinfo-dev \
xz-dev \
readline-dev \
expat-dev \