Fix image env vars, build context checks, TCP/UDP port forward buffer, and validate plugin name (#2027)

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
Co-authored-by: John Logan <john_logan@apple.com>
Co-authored-by: Raj Aryan Singh <rajaryan_singh@apple.com>
This commit is contained in:
Kathryn Baldauf
2026-07-28 10:13:10 -07:00
committed by GitHub
co-authored by John Logan Raj Aryan Singh
parent 27e5043165
commit 48145ac7fb
19 changed files with 882 additions and 81 deletions
@@ -23,6 +23,13 @@ import GRPCCore
import Logging
import TerminalProgress
/// Handles the `resolver` stage of the build protocol.
///
/// Resolves image references on behalf of BuildKit: authenticates with
/// registries, pulls missing base-image manifests and layers, and stores
/// them in the local content store. BuildKit delegates these operations to
/// the host because registry credentials and network access live on the
/// macOS side, not inside the builder VM.
struct BuildImageResolver: BuildPipelineHandler {
let contentStore: ContentStore
let quiet: Bool