logoalt Hacker News

ok123456 • today at 6:08 PM • 1 reply • view on HN

A Go binary with CGO=0 and all templates/documents embedded gives you a better overall tooling and deployment experience. Put it in a scratch container for complete isolation.


Replies

doublepg23 • today at 6:32 PM

CGO=0 came in clutch at previous job when we were deploying Go apps compiled on builders that had a newer glibc than the actual prod server.