bake: add file-relative path opt-in
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -416,6 +416,10 @@ target "app" {
|
||||
```
|
||||
|
||||
This resolves to the current working directory (`"."`) by default.
|
||||
Set `BUILDX_BAKE_FILE_RELATIVE_PATHS=1` to resolve local directory paths in
|
||||
`target.context` and `target.contexts` relative to the directory of the first
|
||||
Bake file. Use `cwd://` for paths that should remain relative to the current
|
||||
working directory when this opt-in is enabled.
|
||||
|
||||
```console
|
||||
$ docker buildx bake --print -f - <<< 'target "default" {}'
|
||||
|
||||
Reference in New Issue
Block a user