Feature Request
Environment
- Affected: Both
- Component: Infrastructure
Description
Current builds are not reproducible — building from the same source commit on different machines or at different times may produce different binary hashes. Reproducible builds improve supply chain trust: users can verify a published binary matches what was built from source.
For Go binaries, reproducibility primarily requires:
-trimpath flag to strip local file system paths from debug info
SOURCE_DATE_EPOCH set to the commit timestamp for embedded time values
- Pinned, verified build toolchain versions
Technical Details
Location
- File:
Makefile — add -trimpath to LD_FLAGS / build commands
- File:
.github/workflows/release.yaml — set SOURCE_DATE_EPOCH from git commit
- File:
docker/Dockerfile* — pin base image digests instead of floating tags
Current State
Makefile:26 sets -extldflags=-static but does not include -trimpath or SOURCE_DATE_EPOCH.
Acceptance Criteria
Feature Request
Environment
Description
Current builds are not reproducible — building from the same source commit on different machines or at different times may produce different binary hashes. Reproducible builds improve supply chain trust: users can verify a published binary matches what was built from source.
For Go binaries, reproducibility primarily requires:
-trimpathflag to strip local file system paths from debug infoSOURCE_DATE_EPOCHset to the commit timestamp for embedded time valuesTechnical Details
Location
Makefile— add-trimpathtoLD_FLAGS/ build commands.github/workflows/release.yaml— setSOURCE_DATE_EPOCHfrom git commitdocker/Dockerfile*— pin base image digests instead of floating tagsCurrent State
Makefile:26sets-extldflags=-staticbut does not include-trimpathorSOURCE_DATE_EPOCH.Acceptance Criteria
-trimpathSOURCE_DATE_EPOCHset to commit timestamp in CI release builds