From 7e764cbcd98c2eeba601a26fd6fda67d65862c51 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 13 Jan 2023 10:18:42 +0100 Subject: [PATCH] Explain how to use native builder --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 21938cf4..a201e372 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,15 @@ Note: You must have Docker running on the remote host being used as a builder. With that configuration in place, you can setup the local/remote configuration using `./bin/mrsk build:remote:create`. If you wish to remove the contexts and buildx instances again, you can run `./bin/mrsk build:remote:remove`. If you had already built using the standard emulation setup, run `./bin/mrsk build:remove` before doing `./bin/mrsk build:remote:create`. +### Configuring native builder when multi-arch isn't needed + +If you're developing on the same architecture as the one you're deploying on, you can speed up the build a lot by forgoing a multi-arch image. This can be done by configuring the builder like so: + +```yaml +builder: + multiarch: false +``` + ## Commands ### Remote execution