dify
dify copied to clipboard
Proposal: Switch to native arm64 runners for building Docker images
Self Checks
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [X] Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Currently, Dify leverages amd64 runners to build and package Docker images for the arm64 architecture. However, due to the overhead of virtualization, this process is significantly slower than it needs to be.
For instance:
- Building the
dify-apiDocker image takes approximately 25 minutes. - Building the Web UI Docker image consumes over 40 minutes.
Now that GitHub native arm64 runners are supported, I propose shifting the arm64 image build process to arm64 runners. This change will enable images to be built natively, potentially reducing build times drastically and improving overall efficiency.
2. Additional context or comments
No response
3. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.