Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ok123456
· 1mo ago · 0 comments
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.
Comments
[–]
doublepg23
1mo ago
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.