From 60f2a8b02574518451bc7d74b9b2999b40f4dcb3 Mon Sep 17 00:00:00 2001 From: Fernando Takagi Date: Wed, 10 May 2023 11:29:44 -0300 Subject: [PATCH] Update instructions around emulation support. --- build/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build/README.md b/build/README.md index 0577a654f..6d2f3c332 100644 --- a/build/README.md +++ b/build/README.md @@ -58,9 +58,19 @@ With the release generated we can create the official container image. These steps are one off to install the required build utilities. -1. Ensure you have the Docker Buildx client installed. (https://docs.docker.com/build/architecture/#install-buildx) +1. Install Docker Desktop. -2. Create a new builder instance that supports multi-platform builds, and switch to use it. +or + +1. Install the Docker buildx client manually. (https://docs.docker.com/build/architecture/#install-buildx) + +2. Install the emulators for foreign architectures. + + ``` + docker run --privileged --rm tonistiigi/binfmt --install all + ``` + +3. Create a new builder instance that supports multi-platform builds, and switch to use it. ``` docker buildx create --name mybuilder --driver docker-container --bootstrap --use -- GitLab