You are viewing the 2025 edition of FOSDEM. Click here to view the 2026 edition
Build better Go release binaries
UD2.120 (Chavanne) | Day 1 | 13:00 - 13:30 | Speakers: Dimitri John Ledkov
Build better Go release binaries
Abstract
go build . is a very common way to build and release binaries for go projects. But there are many settings one can pass to go to build better release binaries. This talk will give overview of compile time optimizations, give guidance on re-releasing, apply CGO hardening as recommended by OpenSSF, upgrading dependencies, ensuring binaries can be scanned for vulnerabilities, ensure codebase is compatible with popular go forks for FIPS compliance, and are easier to reproduce.
Speakers
Dimitri John Ledkov
Links
- Build better go release binaries (Google Drive Slides)
- Go documentation - compile packages and dependencies
- OpenSSF Compiler Hardening Guide
- govulncheck
- Chainguard gobump
- Melange go/build
- Video recording (AV1/WebM)
- Video recording (MP4)
- Video recording subtitle file (VTT)
- Chat room(web)
- Chat room(app)
- Submit Feedback
External Links
Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.
