1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router/build
Sebastiaan van Stijn 2c17e9a333 api: set default "Builder-Version" to "2" (BuildKit) on Linux
Starting with the 22.06 release, buildx is the default client for
docker build, which uses BuildKit as builder.

This patch changes the default builder version as advertised by
the daemon to "2" (BuildKit), so that pre-22.06 CLIs with BuildKit
support (but no buildx installed) also default to using BuildKit
when interacting with a 22.06 (or up) daemon.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-18 12:18:32 -06:00
..
backend.go builder: add prune options to the API 2018-09-01 22:01:17 +00:00
build.go api: set default "Builder-Version" to "2" (BuildKit) on Linux 2022-08-18 12:18:32 -06:00
build_routes.go api/server: build: refactor for better readability 2019-12-04 16:19:01 +01:00