Repository navigation
Tags
Tags
feat(cli): --platform (repeatable) + docker-daemon backend; doc cleanup Consolidate platform selection onto a single repeatable --platform flag (removed --platforms) and make the standard build a first-class 'docker-daemon' backend: - BackendType gains docker-daemon (default; ''/auto resolve to it) alongside buildkit; adding buildah later is a new --build-backend value, not a new flag. - The number of platforms a build accepts is a backend capability (BackendCapabilities.MaxPlatforms: 1 for docker-daemon, 0/unlimited for buildkit), validated in the CLI instead of per-backend branches. - With no --platform, both backends default to the HOST platform (runtime.GOOS/GOARCH). The buildkit backend no longer defaults to the builder image's arch (which could force QEMU emulation on a non-amd64 host). Add the docker-daemon-vs-buildkit single-arch comparison benchmark (benchmarks/compare-backends.sh) + its GitHub Actions workflow. Docs: move the comprehensive backend doc to the repo root as BUILDKIT-BACKEND.md (out of the buried internal path) and refresh it; update the buildkit-native-export spec with the backend/capability/platform model; migrate examples to --platform. Delete stale spike specs (run-image-native-mount, oci-layout-tag-elimination, lifecycle-as-library-hybrid) and stale steering (the old RFC snapshot, the LLB/OCI-layout/Dockerfile-era caching + tag-elimination + export-contract + pre-copy docs) now that the design has converged on the single buildkit backend.
Source commit for release/0.0.1-buildkit-poc (Docker: docker.io/jeric… …op/pack:0.0.1-buildkit-poc)