Skip to main content

Build better Go release binaries

UD2.120 (Chavanne) | Day 1 | 13:00 - 13:30 | Speakers: Dimitri John Ledkov

Build better Go release binaries
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

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

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.