fix: 修复所有平台的 Docker 构建错误
Some checks failed
Build and Release Mond / build-and-test (amd64, ubuntu) (push) Successful in 2m35s
Build and Release Mond / build-and-test (amd64, alpine) (push) Failing after 2m47s
Build and Release Mond / build-and-test (arm64, ubuntu) (push) Successful in 8m16s
Build and Release Mond / build-and-test (arm64, alpine) (push) Failing after 9m44s
Build and Release Mond / release (push) Has been skipped

- init.sh: 修复版本宏替换规则,为所有 sed 命令添加全局替换标志 (/g)
  解决了 Ubuntu 平台上 'DEF_MONERO_VERSION' 未定义的编译错误

- docker/Dockerfile.alpine: 添加所有必需的 Boost 组件包
  解决了 Alpine 平台上 CMake 找不到 Boost 组件的配置错误

修复平台:
- Alpine Linux (amd64/arm64) - Boost 组件缺失问题
- Ubuntu (amd64/arm64) - 版本宏定义错误
This commit is contained in:
2025-12-15 11:58:30 +08:00
parent 62e25d2b1c
commit 677230616c
2 changed files with 16 additions and 6 deletions

View File

@@ -10,6 +10,16 @@ RUN apk add --no-cache \
build-base \
cmake \
boost-dev \
boost-static \
boost-filesystem \
boost-thread \
boost-date_time \
boost-chrono \
boost-serialization \
boost-program_options \
boost-locale \
boost-system \
boost-regex \
openssl-dev \
zeromq-dev \
unbound-dev \