buildx/build
Tonis Tiigi b62d64b2b5
bake: use shared session for local sources for multiple targets
Detect cases where multiple bake targets would use the same
local source. For such cases a separate session request is
made in addition to session per target and local source
is made available in that source as well.

The new sessionID is sent with the request so the frontend
can ask associate it with the local source it needs.

The sources are still available in the main request session
as well. This would be used if frontend ignores the local-sessionid
parameter and makes sure that old version continue working.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-07-24 10:58:13 -07:00
..
build.go bake: use shared session for local sources for multiple targets 2024-07-24 10:58:13 -07:00
dial.go vendor: update buildkit to f7bda278b7e2 2024-07-02 22:24:55 -07:00
driver.go vendor: update buildkit to f7bda278b7e2 2024-07-02 22:24:55 -07:00
driver_test.go vendor: update buildkit to f7bda278b7e2 2024-07-02 22:24:55 -07:00
git.go build: refactor setting git info to local mounts 2024-07-16 21:50:06 -07:00
git_test.go build: refactor setting git info to local mounts 2024-07-16 21:50:06 -07:00
invoke.go lint: gopls fixes 2024-04-24 17:58:17 -07:00
localstate.go build: fix localstate for remote context and stdin 2024-06-28 14:56:45 +02:00
opt.go Merge pull request #2601 from tonistiigi/init-fixes 2024-07-24 10:52:25 -07:00
provenance.go build: read provenance response mode in commands pkg 2024-06-24 14:32:26 +02:00
result.go lint: gopls fixes 2024-04-24 17:58:17 -07:00
url.go build: set remote bake def and remote dockerfile as internal solve 2023-07-19 04:18:28 +02:00
utils.go remove uses of github.com/docker/docker/builder/remotecontext package 2024-05-26 11:06:02 +02:00
utils_test.go Permit '=' separator and '[ipv6]' in --add-host 2023-11-22 10:52:14 +00:00