Link cAdvisor statically.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
Vishnu kannan 2016-05-20 13:39:13 -07:00
parent 7ddf6eb5d1
commit 7f6127620a

View File

@ -45,6 +45,7 @@ if [ "${go_version:0:3}" = "1.4" ]; then
fi
ldflags="
-extldflags '-static'
-X ${repo_path}/version.Version${ldseparator}${version}
-X ${repo_path}/version.Revision${ldseparator}${revision}
-X ${repo_path}/version.Branch${ldseparator}${branch}