ModelEngine-Group / ModelEngine-Group/pipeline
Docker Buildx多平台构建
@desAweis is already working on this.
Since Nov 18, 2025.
- Dominant language
- PLpgSQL
- Stars
- 22
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
功能摘要 / Feature Summary
利用Docker Buildx的多平台构建能力,支持多平台构建
功能类型 / Feature Type
全新功能 / New Feature
优先级 / Priority
高 - 非常需要这个功能 / High - Really need this feature
问题描述 / Problem Description
当前项目为x86和arm64维护了两套独立的构建配置:
pipeline/independent/x86/- 完整的x86构建脚本和Dockerfilepipeline/independent/arm64/- 完整的arm64构建脚本和Dockerfile
这导致:
- 代码重复,维护成本高
- 两套配置容易产生不一致
- 未利用Docker Buildx的多平台构建能力
建议的解决方案 / Proposed Solution
- 重构Dockerfile,使用多阶段构建和平台变量
- 统一构建脚本,使用 docker buildx build --platform linux/amd64,linux/arm64
- 移除重复的平台特定配置
- 更新CI/CD workflow以支持多平台构建
替代方案 / Alternative Solutions
No response
确认事项 / Confirmations
-
我已经搜索了现有的 issues 和讨论,确认这不是重复建议
I have searched existing issues and discussions, confirming this is not a duplicate suggestion -
这个功能符合项目的目标和范围
This feature aligns with the project's goals and scope -
我理解这个功能可能需要时间来实现
I understand this feature may take time to implement -
我愿意协助实现这个功能 (可选)
I'm willing to help implement this feature (optional)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.