From d82380901c798bc6befe5c1db2ac54c80a17268b Mon Sep 17 00:00:00 2001 From: Guiorgy Date: Sat, 2 Aug 2025 21:53:28 +0400 Subject: [PATCH] docker: Add instructions for cross-compiling This patch adds instructions on how to cross-compile the Docker build. https://github.com/albertito/chasquid/pull/67 Amended-by: Alberto Bertogli Adjusted commit message. --- docker/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/README.md b/docker/README.md index 38c7cb0..75412ec 100644 --- a/docker/README.md +++ b/docker/README.md @@ -26,6 +26,11 @@ If, instead, you want to build the image yourself, just run: $ docker build -t chasquid -f docker/Dockerfile . ``` +Or, if you are cross-compiling for a different architecture, e.g. `arm64`: + +```sh +$ docker build --platform=linux/arm64 -t chasquid -f docker/Dockerfile . +``` ## Running