Skip to content

Commit 213e858

Browse files
thaJeztahcrazy-max
authored andcommitted
docs: use latest "labs" for --parents and --exclude
The `--parents` and `--exclude` options have been part of the labs channel since 1.7, but have not yet been promoted to stable. Using the 1.7-labs version in these examples means that users would be downgrading their Dockerfile syntax from 1.17 (soon 1.18.0) to a much older syntax. Let's update the notes to use the latest labs syntax so that users are not surprised by other features no longer being supported when using the labs syntax. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent a59c3fe commit 213e858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ conditions for cache reuse.
19051905
### COPY --parents
19061906

19071907
> [!NOTE]
1908-
> Not yet available in stable syntax, use [`docker/dockerfile:1.7-labs`](#syntax) version.
1908+
> Not yet available in stable syntax, use [`docker/dockerfile:1-labs`](#syntax) version.
19091909
19101910
```dockerfile
19111911
COPY [--parents[=<boolean>]] <src> ... <dest>
@@ -1962,7 +1962,7 @@ with the `--parents` flag, the Buildkit is capable of packing multiple
19621962
### COPY --exclude
19631963

19641964
> [!NOTE]
1965-
> Not yet available in stable syntax, use [`docker/dockerfile:1.7-labs`](#syntax) version.
1965+
> Not yet available in stable syntax, use [`docker/dockerfile:1-labs`](#syntax) version.
19661966
19671967
```dockerfile
19681968
COPY [--exclude=<path> ...] <src> ... <dest>

0 commit comments

Comments
 (0)