From a81226754b4f66054c782905888875cf6ea4fcc3 Mon Sep 17 00:00:00 2001 From: Andrey Bolonin Date: Wed, 13 May 2026 15:04:31 +0500 Subject: [PATCH 1/4] Update embed.md Signed-off-by: Andrey Bolonin --- docs/embed.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/embed.md b/docs/embed.md index eb250e7ae1..3ad3baf500 100644 --- a/docs/embed.md +++ b/docs/embed.md @@ -148,3 +148,8 @@ On Linux, the created binary is compressed using [UPX](https://upx.github.io). On macOS, to reduce the size of the file before sending it, you can compress it. We recommend `xz`. + +## Disable UPX +```console +RUN NO_COMPRESS=1 ./build-static.sh +``` From 1f87f160105cca72c4f696239aa9576c147956d9 Mon Sep 17 00:00:00 2001 From: Andrey Bolonin Date: Wed, 13 May 2026 15:24:52 +0500 Subject: [PATCH 2/4] Update docs/embed.md Co-authored-by: Marc Signed-off-by: Andrey Bolonin --- docs/embed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/embed.md b/docs/embed.md index 3ad3baf500..2230075af7 100644 --- a/docs/embed.md +++ b/docs/embed.md @@ -149,7 +149,7 @@ On Linux, the created binary is compressed using [UPX](https://upx.github.io). On macOS, to reduce the size of the file before sending it, you can compress it. We recommend `xz`. -## Disable UPX +### Disable UPX ```console RUN NO_COMPRESS=1 ./build-static.sh ``` From e7a1a9f3f10eaf3652cdce6dff5602ad37d750b7 Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 13 May 2026 17:30:22 +0700 Subject: [PATCH 3/4] Apply suggestion from @henderkes Signed-off-by: Marc --- docs/embed.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/embed.md b/docs/embed.md index 2230075af7..5f5153b90f 100644 --- a/docs/embed.md +++ b/docs/embed.md @@ -150,6 +150,7 @@ On macOS, to reduce the size of the file before sending it, you can compress it. We recommend `xz`. ### Disable UPX + ```console RUN NO_COMPRESS=1 ./build-static.sh ``` From 5d43d62b7570780bce23fb03e645ab312bc0c444 Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 13 May 2026 17:42:37 +0700 Subject: [PATCH 4/4] Apply suggestion from @henderkes Signed-off-by: Marc --- docs/embed.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/embed.md b/docs/embed.md index 5f5153b90f..7500567bce 100644 --- a/docs/embed.md +++ b/docs/embed.md @@ -149,7 +149,9 @@ On Linux, the created binary is compressed using [UPX](https://upx.github.io). On macOS, to reduce the size of the file before sending it, you can compress it. We recommend `xz`. -### Disable UPX +### Disabling UPX + +In case you don't wish to use compression, you can skip it by setting the environment variable `NO_COMPRESS=1` before running build-static.sh: ```console RUN NO_COMPRESS=1 ./build-static.sh