Re:`COPY –chmod` reduced the size of my container image by 35%
by wereHamster on Saturday March 26, 2022 @10:41AM
(#30812242)
Well this is not what I'm seeing. I need to add -ldflags "-linkmode external -extldflags -static" to the go build command otherwise the binary doesn't run inside a scratch image.
[ Parent
| on HN ]
There are no comments on this comment yet.