Thanks to visit codestin.com Credit goes to github.com
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.
ts_omit_aws
1 parent f1f9cb0 commit d8718c3Copy full SHA for d8718c3
scripts/build_go.sh
@@ -99,10 +99,12 @@ ldflags=(
99
-X "'github.com/coder/coder/v2/buildinfo.tag=$version'"
100
)
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
if [[ "$slim" == 0 ]]; then
- build_args+=(-tags embed)
105
+ build_args+=(-tags "embed,ts_omit_aws")
106
else
- build_args+=(-tags slim)
107
+ build_args+=(-tags "slim,ts_omit_aws")
108
fi
109
if [[ "$agpl" == 1 ]]; then
110
# We don't use a tag to control AGPL because we don't want code to depend on
0 commit comments