Skip to content

Commit 92ef8b0

Browse files
committed
docs: replace references to the master branch with v0.13
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 5a7aaa4 commit 92ef8b0

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Keys supported by image output:
286286
* `name-canonical=true`: add additional canonical name `name@<digest>`
287287
* `compression=<uncompressed|gzip|estargz|zstd>`: choose compression type for layers newly created and cached, gzip is default value. estargz should be used with `oci-mediatypes=true`.
288288
* `compression-level=<value>`: compression level for gzip, estargz (0-9) and zstd (0-22)
289-
* `rewrite-timestamp=true` (Present in the `master` branch <!-- TODO: v0.13-->): rewrite the file timestamps to the `SOURCE_DATE_EPOCH` value.
289+
* `rewrite-timestamp=true`: rewrite the file timestamps to the `SOURCE_DATE_EPOCH` value.
290290
See [`docs/build-repro.md`](docs/build-repro.md) for how to specify the `SOURCE_DATE_EPOCH` value.
291291
* `force-compression=true`: forcefully apply `compression` option to all layers (including already existing layers)
292292
* `store=true`: store the result images to the worker's (e.g. containerd) image store as well as ensures that the image has all blobs in the content store (default `true`). Ignored if the worker doesn't have image store (e.g. OCI worker).

docs/build-repro.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ Minimal support is also available on older BuildKit when using Dockerfile 1.5 fr
4646
```console
4747
buildctl build --frontend dockerfile.v0 --opt build-arg:SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) ...
4848
```
49-
50-
The `buildctl` CLI (<= 0.12) does not automatically propagate the `$SOURCE_DATE_EPOCH` environment value from the client host to the `SOURCE_DATE_EPOCH` build arg.
51-
<!-- TODO: s/master/v0.13/ -->
52-
In the `master` branch of BuildKit, the `buildctl` CLI is updated to automatically capture the environment value.
53-
Docker Buildx (>= 0.10) automatically captures the environment value too.
49+
The `buildctl` CLI (>= v0.13) and Docker Buildx (>= 0.10) automatically propagate the `$SOURCE_DATE_EPOCH` environment value from the client host to the `SOURCE_DATE_EPOCH` build arg.
5450

5551
The build arg value is used for:
5652
- the `created` timestamp in the [OCI Image Config](https://github.com/opencontainers/image-spec/blob/main/config.md#properties)
@@ -64,8 +60,7 @@ To apply the build arg value to the timestamps of the files inside the image, sp
6460
--output type=image,name=docker.io/username/image,push=true,rewrite-timestamp=true
6561
```
6662

67-
<!-- TODO: s/master/v0.13/ -->
68-
The `rewrite-timestamp` option is only available in the `master` branch of BuildKit.
63+
The `rewrite-timestamp` option is available since BuildKit v0.13.
6964
See [v0.12 documentation](https://github.com/moby/buildkit/blob/v0.12/docs/build-repro.md#caveats) for dealing with timestamps
7065
in BuildKit v0.12 and v0.11.
7166

frontend/dockerfile/docs/reference.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1575,8 +1575,7 @@ conditions for cache reuse.
15751575

15761576
> **Note**
15771577
>
1578-
> Available in [`docker/dockerfile-upstream:master-labs`](#syntax).
1579-
> Will be included in `docker/dockerfile:1.7-labs`.
1578+
> Not yet available in stable syntax, use [`docker/dockerfile:1.7-labs`](#syntax) version.
15801579
15811580
```dockerfile
15821581
COPY [--parents[=<boolean>]] <src> ... <dest>
@@ -1585,7 +1584,7 @@ COPY [--parents[=<boolean>]] <src> ... <dest>
15851584
The `--parents` flag preserves parent directories for `src` entries. This flag defaults to `false`.
15861585

15871586
```dockerfile
1588-
# syntax=docker/dockerfile-upstream:master-labs
1587+
# syntax=docker/dockerfile:1.7-labs
15891588
FROM scratch
15901589

15911590
COPY ./x/a.txt ./y/a.txt /no_parents/
@@ -1605,7 +1604,7 @@ directories after it will be preserved. This may be especially useful copies bet
16051604
with `--from` where the source paths need to be absolute.
16061605

16071606
```dockerfile
1608-
# syntax=docker/dockerfile-upstream:master-labs
1607+
# syntax=docker/dockerfile:1.7-labs
16091608
FROM scratch
16101609

16111610
COPY --parents ./x/./y/*.txt /parents/
@@ -1634,8 +1633,7 @@ with the `--parents` flag, the Buildkit is capable of packing multiple
16341633

16351634
> **Note**
16361635
>
1637-
> Available in [`docker/dockerfile-upstream:master-labs`](#syntax).
1638-
> Will be included in `docker/dockerfile:1.7-labs`.
1636+
> Not yet available in stable syntax, use [`docker/dockerfile:1.7-labs`](#syntax) version.
16391637
16401638
```dockerfile
16411639
COPY [--exclude=<path> ...] <src> ... <dest>

0 commit comments

Comments
 (0)