Merge pull request #1299 from vishh/static-link
Link cAdvisor statically.
This commit is contained in:
commit
2ad48e14fd
@ -45,6 +45,7 @@ if [ "${go_version:0:3}" = "1.4" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ldflags="
|
ldflags="
|
||||||
|
-extldflags '-static'
|
||||||
-X ${repo_path}/version.Version${ldseparator}${version}
|
-X ${repo_path}/version.Version${ldseparator}${version}
|
||||||
-X ${repo_path}/version.Revision${ldseparator}${revision}
|
-X ${repo_path}/version.Revision${ldseparator}${revision}
|
||||||
-X ${repo_path}/version.Branch${ldseparator}${branch}
|
-X ${repo_path}/version.Branch${ldseparator}${branch}
|
||||||
|
Loading…
Reference in New Issue
Block a user