Go: Static linking with CGO and distroless
Published: Sep 27, 2024
Do you use distroless? Have you tried to build a distroless docker image for
your Go project, only to see an error like /bin/foo: no such file or directory
? Maybe you spent a bunch of time trying to figure out why that file
isn't there, only to find out that it IS there, but you're still getting the
error?
This post is for you!