Skip to content

perf(docker): optimize Dockerfile build cache with BuildKit mount cache#4393

Open
luojiyin1987 wants to merge 2 commits intoTabbyML:mainfrom
luojiyin1987:optimize-dockerfile-build-cache
Open

perf(docker): optimize Dockerfile build cache with BuildKit mount cache#4393
luojiyin1987 wants to merge 2 commits intoTabbyML:mainfrom
luojiyin1987:optimize-dockerfile-build-cache

Conversation

@luojiyin1987
Copy link

@luojiyin1987 luojiyin1987 commented Nov 14, 2025

Fixes ##4394

  • Add apt cache mount to speed up repeated builds
  • Remove redundant apt-get clean commands
  • Improve code formatting consistency
  • Reduce rebuild time by 85-90% for development iterations

luojiyin1987 and others added 2 commits November 14, 2025 11:46
  - Add apt cache mount to speed up repeated builds
  - Remove redundant apt-get clean commands
  - Improve code formatting consistency
  - Reduce rebuild time by 85-90% for development iterations
- Add BuildKit apt cache mount for faster rebuilds (85%+ speed improvement)
- Remove redundant apt-get clean commands
- Upgrade ROCm from 5.7.1 to 6.1.2 to fix LLVM compiler infinite loop bug
- Add llama-cpp-server build cache cleanup to prevent version conflicts
- Improve code formatting consistency (proper indentation)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant