Allow users to have separate store paths

- decouple store path from `$DOCKER_CONFIG`
- improve containerised build setup
- introduce new `$BUILDX_CONFIG` environment variable

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko
2020-09-08 10:11:03 +01:00
parent 1c7434a8f0
commit 4b2aab09b5
2 changed files with 15 additions and 3 deletions

View File

@ -15,7 +15,6 @@ import (
)
func New(root string) (*Store, error) {
root = filepath.Join(root, "buildx")
if err := os.MkdirAll(filepath.Join(root, "instances"), 0700); err != nil {
return nil, err
}