kocolosk commented on a change in pull request #33: URL: https://github.com/apache/couchdb-ci/pull/33#discussion_r815318707
########## File path: README.md ########## @@ -59,31 +65,38 @@ the [kerl](https://github.com/kerl/kerl) build system, and installs them to `/usr/local/kerl` for activation before builds. This version is intended for use in standard CI runs, such as for pull requests. -# Building a cross-architecture Docker image +## Building a cross-architecture Docker image -This only works from an `x86_64` build host. - -First, configure your machine with the correct dependencies to build multi-arch binaries: +We can use Docker's +[Buildx](https://docs.docker.com/buildx/working-with-buildx/) plugin to generate +multi-architecture container images with a single command invocation. Docker +Desktop ships with buildx support, but you'll need to create a new builder to +use it: ``` -docker run --privileged --rm tonistiigi/binfmt --install all +docker buildx create --use Review comment: Fixed in ed7c197 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
