We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ab0d9 commit 18c9f33Copy full SHA for 18c9f33
scripts/build_go.sh
@@ -101,10 +101,11 @@ ldflags=(
101
102
# We use ts_omit_aws here because on Linux it prevents Tailscale from importing
103
# github.com/aws/aws-sdk-go-v2/aws, which adds 7 MB to the binary.
104
+TS_EXTRA_SMALL="ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube"
105
if [[ "$slim" == 0 ]]; then
- build_args+=(-tags "embed,ts_omit_aws")
106
+ build_args+=(-tags "embed,$TS_EXTRA_SMALL")
107
else
- build_args+=(-tags "slim,ts_omit_aws")
108
+ build_args+=(-tags "slim,$TS_EXTRA_SMALL")
109
fi
110
if [[ "$agpl" == 1 ]]; then
111
# We don't use a tag to control AGPL because we don't want code to depend on
0 commit comments