Commit 6d0cc53
committed
docker: ensure the hubble binary is statially linked
From the CGO documentation[0]:
> The cgo tool is enabled by default for native builds on systems where
> it is expected to work. It is disabled by default when
> cross-compiling. You can control this by setting the CGO_ENABLED
> environment variable when running the go tool: set it to 1 to enable
> the use of cgo, and to 0 to disable it.
This commits enforces disabling CGO to ensure that the hubble binary is
statically linked.
[0]: https://golang.org/cmd/cgo/
Signed-off-by: Robin Hahling <[email protected]>1 parent 9f058a4 commit 6d0cc53
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments