buildkit/solver/llbsolver
Ian Campbell 720d8327e2 Push setting of default PATH down into the executor(s)
Setting the default `PATH` in the `llb.State` on the client side means it
depends on the `GOOS` of the buildkit client, rather than of the environment
where it will actually execute.

Instead defer this to execution time and insert the default PATH at that point
if one is not present. Doing this in solver/llbsolver/ops/exec covers all
executors and also avoids breaking the cache.

Client compatibility is handled via a new capability.

Fixes #604

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-09-28 14:16:47 +01:00
..
ops Push setting of default PATH down into the executor(s) 2018-09-28 14:16:47 +01:00
bridge.go dockerfile: avoid duplicate config resolve lines 2018-09-17 13:42:21 -07:00
result.go control: clean up cache metadata after prune 2018-07-23 16:27:01 -07:00
solver.go dockerfile: avoid duplicate config resolve lines 2018-09-17 13:42:21 -07:00
vertex.go solver: net host with basic entitlements support 2018-08-09 14:03:35 -07:00