Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit a75083e

Browse files
committed
docs/build: add note about git subdirectories with BuildKit
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit b4db7e38bcf7a16e2d195fb11140290578a81d6a) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 9a65c1c861c1199039b8a3c0cb6dc73f3acfe9b3 Component: cli
1 parent 6002284 commit a75083e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • components/cli/docs/reference/commandline

components/cli/docs/reference/commandline/build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ Build Syntax Suffix | Commit Used | Build Context Used
110110
`myrepo.git#mytag:myfolder` | `refs/tags/mytag` | `/myfolder`
111111
`myrepo.git#mybranch:myfolder` | `refs/heads/mybranch` | `/myfolder`
112112

113+
> **Note**
114+
>
115+
> You cannot specify the build-context directory (`myfolder` in the examples above)
116+
> when using BuildKit as builder (`DOCKER_BUILDKIT=1`). Support for this feature
117+
> is tracked in [buildkit#1684](https://github.com/moby/buildkit/issues/1684).
113118
114119
### Tarball contexts
115120

0 commit comments

Comments
 (0)