You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildx/driver
Sebastiaan van Stijn 944fd444f6 container-driver: fix volume destination for cache
The container-driver creates a Linux container (as there currently isn't a
Windows version of buildkitd). However, the defaults are platform specific.

Buildx was using the defaults from the buildkit `util/appdefault' package,
which resulted in Buildx running on a Windows client to create a Linux
container that used the Windows location, which causes it to fail:

    invalid mount config for type "volume": invalid mount path: 'C:/ProgramData/buildkitd/.buildstate' mount path must be absolute

This patch hard-codes the destination to the default Linux path.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 93867d02f0)
3 years ago
..
bkimage set DefaultRootlessImage to "moby/buildkit:buildx-stable-1-rootless" 4 years ago
docker Keep BuildKit state in a volume 4 years ago
docker-container container-driver: fix volume destination for cache 3 years ago
kubernetes Keep BuildKit state in a volume 4 years ago
driver.go use long-running context for client initialization 3 years ago
features.go driver: add feature testing 6 years ago
manager.go driver: do not insert "platform" as driver-opt 4 years ago