fix(docker): force-enable BuildKit in dockerBuild#3585
Conversation
Signed-off-by: Tinson Lai <tinsonl@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR modifies ChangesBuildKit enforcement in docker build
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Selective E2E Results — ✅ All requested jobs passedRun: 25916819564
|
Summary
On hosts whose Docker daemon defaults to the legacy builder,
nemoclaw onboardaborts when the sandbox-base local rebuild reaches Dockerfile.base'sRUN --mount=type=bindstep with "the --mount option requires BuildKit". Force-enable BuildKit insidedockerBuildso every callsite gets the BuildKit path regardless of daemon defaults.Related Issue
Fixes #3583
Changes
DOCKER_BUILDKIT=1indockerBuildbefore invokingdocker build; preserve a caller-supplied value when one is already set.Type of Change
Verification
Signed-off-by: Tinson Lai tinsonl@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests