Skip to content

Commit 7f61276

Browse files
committed
Link cAdvisor statically.
Signed-off-by: Vishnu kannan <[email protected]>
1 parent 7ddf6eb commit 7f61276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ if [ "${go_version:0:3}" = "1.4" ]; then
4545
fi
4646

4747
ldflags="
48+
-extldflags '-static'
4849
-X ${repo_path}/version.Version${ldseparator}${version}
4950
-X ${repo_path}/version.Revision${ldseparator}${revision}
5051
-X ${repo_path}/version.Branch${ldseparator}${branch}

0 commit comments

Comments
 (0)