diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-12-08 23:54:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 23:54:50 +0100 |
commit | 470e6fd1cd2fd9ba0c5f2c2f63b1004a3200fbde (patch) | |
tree | 3d4afe32cd6fdf9b124744999fdd64d820284fd9 /doc | |
parent | 3071eef957921d10f22cac6e73334efc85421b6b (diff) | |
parent | cf7b358d69e2aaf330fd4219d2b552a250365645 (diff) |
Merge pull request #201902 from ck3mp3r/dockertools-architecture-in-config-200725
Adding ability to set image architecture when creating OCI images using DockerTools
Diffstat (limited to 'doc')
-rw-r--r-- | doc/builders/images/dockertools.section.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/builders/images/dockertools.section.md b/doc/builders/images/dockertools.section.md index 6203b3786bfa4..dfc012b80c5a7 100644 --- a/doc/builders/images/dockertools.section.md +++ b/doc/builders/images/dockertools.section.md @@ -62,6 +62,8 @@ The above example will build a Docker image `redis/latest` from the given base i - `config` is used to specify the configuration of the containers that will be started off the built image in Docker. The available options are listed in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions). +- `architecture` is _optional_ and used to specify the image architecture, this is useful for multi-architecture builds that don't need cross compiling. If not specified it will default to `hostPlatform`. + - `diskSize` is used to specify the disk size of the VM used to build the image in megabytes. By default it's 1024 MiB. - `buildVMMemorySize` is used to specify the memory size of the VM to build the image in megabytes. By default it's 512 MiB. @@ -141,6 +143,8 @@ Create a Docker image with many of the store paths being on their own layer to i `config` _optional_ +`architecture` is _optional_ and used to specify the image architecture, this is useful for multi-architecture builds that don't need cross compiling. If not specified it will default to `hostPlatform`. + : Run-time configuration of the container. A full list of the options are available at in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions). *Default:* `{}` |