mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #1495] [MERGED] feat: parallelize docker build #7482
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1495
Author: @cheahjs
Created: 4/10/2024
Status: ✅ Merged
Merged: 4/10/2024
Merged by: @tjbck
Base:
dev← Head:feat/parallelize-docker-build📝 Commits (4)
550fc63feat: parallelize x86/arm docker buildseddaa7fcross compile nodecd91d8arun apt install first for better potential layer caching7050d53build ollama and cuda tags📊 Changes
2 files changed (+351 additions, -54 deletions)
View changed files
📝
.github/workflows/docker-build.yaml(+319 -22)📝
Dockerfile(+32 -32)📄 Description
Pull Request Checklist
Description
Parallelizes the Docker image builds. All 6 possible builds (matrix of standard, cuda, ollama, on x86_64 and arm64) are run in parallel on separate build agents.
Example build: https://github.com/cheahjs/open-webui-fork/actions/runs/8631540693
There are a few more drive by changes that I can back out if necessary:
cudaandollamatags, build them as suffixes to existing tags (egv0.1.118would getv0.1.118,0.1.118-cuda, and0.1.118-ollama).cudaandollamatags are built outside of themainbranch as well.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.