This document tracks the GitHub issues created for the BuildKit RISC-V64 implementation project.
Issue: #207 Title: feat(buildkit): build native BuildKit binaries for RISC-V64 (Phase 1) URL: #207 Labels: enhancement, infrastructure, buildkit Status: Open Dependencies: None (entry point)
Key Deliverables:
- BuildKit submodule integration
- RISC-V64 native build script
- buildkitd and buildctl binaries
- Weekly build workflow
- Binary testing on RISC-V64 hardware (self-hosted runner)
Issue: #208 Title: feat(buildkit): create BuildKit container image with tini integration (Phase 2) URL: #208 Labels: enhancement, infrastructure, buildkit Status: Open Dependencies: Blocked by #207
Key Deliverables:
- Dockerfile for BuildKit container
- Tini integration for signal handling
- Runtime dependencies configuration
- Container image testing
- Registry deployment
Issue: #209 Title: test(buildkit): validate standalone and Docker Buildx integration (Phase 3) URL: #209 Labels: enhancement, infrastructure, buildkit Status: Open Dependencies: Blocked by #208
Key Deliverables:
- Standalone daemon testing
- Docker Buildx integration testing
- Multi-platform build validation (BuildKit on RISC-V64 building FOR other platforms)
- Rootless mode testing
- Performance benchmarks
Important Note: Multi-platform testing means BuildKit running ON RISC-V64 will BUILD images FOR other platforms (amd64, arm64), not cross-compiling BuildKit itself.
Issue: #210 Title: ci(buildkit): add automation workflows and documentation (Phase 4) URL: #210 Labels: enhancement, infrastructure, buildkit, workflows Status: Open Dependencies: Blocked by #209
Key Deliverables:
- Weekly build workflow (runs on self-hosted RISC-V64 runner)
- Release tracking workflow
- UpdateCLI configuration
- Comprehensive documentation
- Optional: Debian/RPM packages
#207 (Phase 1: Binaries)
↓
#208 (Phase 2: Container)
↓
#209 (Phase 3: Testing)
↓
#210 (Phase 4: Automation)
Each phase must be completed and closed before starting the next phase.
IMPORTANT: This project uses native compilation only:
- All builds happen on the self-hosted RISC-V64 runner (self-hosted runner)
- NO cross-compilation from amd64 to riscv64
- BuildKit binaries are compiled natively on RISC-V64 hardware
- BuildKit's multi-platform capability allows it to BUILD container images FOR other platforms while running on RISC-V64
The BuildKit RISC-V64 project is considered successful when:
- ✅ BuildKit binaries compile and run on RISC-V64 hardware
- ✅ Container image deployed successfully in production
- ✅ Docker Buildx integration tested and working
- ✅ Automated workflows maintain builds without manual intervention
- ✅ Community can install and use BuildKit from documentation
- ✅ Project follows all conventions in CLAUDE.md
- ✅ All 4 phase issues closed with acceptance criteria met
These challenges are documented in the phase issues:
- Tini Path: BuildKit expects tini at
/usr/bin/tini(addressed in #208) - Container Privileges: May need
--privilegedor specific capabilities (tested in #209) - Storage Configuration: Proper storage driver for RISC-V64 (validated in #209)
- Multi-Platform Builds: Testing BuildKit's ability to build FOR other platforms FROM RISC-V64 (validated in #209)
- Source Document: BUILDKIT-RISCV64-TODO.md
- BuildKit Upstream: https://github.com/moby/buildkit
- Project Conventions: CLAUDE.md
- Testing Patterns: TESTING.riscv64.md
- All BuildKit Issues: https://github.com/gounthar/docker-for-riscv64/issues?q=is%3Aissue+label%3Abuildkit
- ✅ All issues use conventional commit format in titles
- ✅ Issues follow project labeling conventions
- ✅ Dependencies clearly documented in each issue
- ✅ Each issue includes detailed acceptance criteria
- ✅ Testing steps provided for validation
- ⏳ Regular status updates in issue comments
- ⏳ Close issues only after acceptance criteria met
- ⏳ Update this summary when issues are closed
-
Start Phase 1 (#207):
- Add BuildKit as git submodule
- Create initial build script for native RISC-V64 compilation
- Test binary compilation locally on self-hosted runner
-
Monitor Progress:
- Check weekly build results
- Update issue comments with findings
- Document any blockers or challenges
-
Update Documentation:
- Keep BUILDKIT-ISSUES-SUMMARY.md current
- Update CLAUDE.md when workflows are added
- Add BuildKit section to README.md
Last Updated: 2025-12-09 Issues Created: 2025-12-09 Status: All phases ready to start (Phase 1 #207 is entry point) Compilation Approach: Native RISC-V64 only (no cross-compilation)