solver: route gateway dockerfile.v0 source to builtin frontend by crazy-max · Pull Request #6643 · moby/buildkit (original) (raw)

alternative to and closes #6594

BuildKit treats gateway.v0 requests with source=dockerfile.v0 as requests for the built-in Dockerfile frontend. The request is normalized before frontend dispatch, so the solve is handled and recorded as dockerfile.v0 instead of remaining a gateway.v0 request.

This keeps the behavior aligned with the actual request shape that Buildx sends today. It also makes provenance and history reflect the built-in Dockerfile frontend correctly.