Skip to content

Commit e65a528

Browse files
committed
fix: Explain compress option
1 parent 2db7961 commit e65a528

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/build_go_slim.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#
1616
# The built binaries are additionally copied to the site output directory so
1717
# they can be packaged into non-slim binaries correctly.
18+
#
19+
# When the --compress <level> parameter is provided, the binaries in site/bin
20+
# will be compressed using zstd into site/bin/coder.tar.zst, this helps reduce
21+
# final binary size significantly.
1822

1923
set -euo pipefail
2024
shopt -s nullglob

0 commit comments

Comments
 (0)