Link cAdvisor statically.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
parent
7ddf6eb5d1
commit
7f6127620a
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user