You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ Keys supported by image output:
286
286
*`name-canonical=true`: add additional canonical name `name@<digest>`
287
287
*`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`.
288
288
*`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.
290
290
See [`docs/build-repro.md`](docs/build-repro.md) for how to specify the `SOURCE_DATE_EPOCH` value.
291
291
*`force-compression=true`: forcefully apply `compression` option to all layers (including already existing layers)
292
292
*`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).
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.
54
50
55
51
The build arg value is used for:
56
52
- 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
Copy file name to clipboardExpand all lines: docs/windows.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,14 @@ We will apprecate any feedback by [opening an issue here](https://github.com/mob
31
31
32
32
> **NOTE:** all these requires running as admin (elevated) on a PowerShell terminal.
33
33
34
+
Make sure that `Containers` feature is enabled. (_`Microsoft-Hyper-V` is a bonus but not necessarily needed for our current guide. Also it's depended on your virtualization platform setup._) Run:
You will be asked to restart your machine, do so, and then continue with the rest of the steps. No other restart needed.
41
+
34
42
1. Setup `containerd` by following [the setup instructions here](https://github.com/containerd/containerd/blob/main/docs/getting-started.md#installing-containerd-on-windows). (_Currently, we only support the `containerd` worker_.)
35
43
1. Start the `containerd` service, if not yet started.
0 commit comments