dockerfile: use lld linker for containerd build#5548
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
4b2084e to
787d9d0
Compare
|
@crazy-max is this something that should also be applied to our containerd-packaging repo instead of the workaround we currently have (to install |
Either works but with cross comp, enforcing the linker is needed. |
|
This still needs some investigation. It's a combination of Go hardcoding linker to gold if arm64 and dynamic linux binary target https://github.com/golang/go/blob/go1.23.3/src/cmd/link/internal/ld/lib.go#L1661-L1673 . |
closes #5546