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

Commit d48744d

Browse files
Merge pull request #2717 from thaJeztah/19.03_backport_update_git_remote_description
[19.03 backport] docs/build: add note about git subdirectories with BuildKit Upstream-commit: 1fbcf9c7b62f37c7aa8edbe361a794bb285500f1 Component: cli
2 parents 6002284 + a75083e commit d48744d

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)