From dfefff2703074fc8e76c90f710be0d28b56f0295 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Mon, 25 Mar 2024 01:40:10 -0500 Subject: [PATCH] docs: Added a note about building --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b70e5a6..0e019be 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ For building on `arm64` or `arm/v7`, use the following: ``` docker build . -t chhoto-url --build-arg target= ``` +Make sure that the desired target is a `musl` one, since the docker image is built from `scratch`. For cross-compilation, take a look at the `Makefile`. It builds and pushes for `linux/amd64`, `linux/aarch64` and `linux/arm/v7` architectures. For any other architectures, open a discussion, and I'll try to help you out. 1. Run the image