~/talk

Binary Reproducible Builds with Docker

Talkat NDC TechTown 2018 · 2018-09-27..09-30· [devops-and-delivery]
name:Mike Long
links:none on file
slides:none on file

Shows how to make a reproducible C++ build by using Docker to freeze the environment, pinning a Debian base image, installing GCC and build tools, and setting a fixed working directory so object paths and timestamps don’t vary. Demonstrates problems (compile-time __DATE__, per-file random seeds, ar timestamps, build IDs) and fixes (use stable seeds derived from source MD5, ar -D, strip) and verifies results with md5sum where builds inside the same image produce identical outputs e g 60c3… vs f9de… before fixes and matching MD5 after, so the method works. docker image with fixed working dir md5sum equality

AI-written summary · about

  1. 0:00Start
  2. 2:08Where is Binary Reproducible Software Needed?
  3. 4:10Where are the Lifecycle Challenges?
  4. 11:14Controlling the environment
  5. 11:53Dependency management
  6. 14:02Docker hub
  7. 14:56Source Code: Identifying Volatile Inputs
  8. 18:32Source Code: Value Initialization
  9. 19:06Randomness in the compiler
  10. 20:58Randomness in the Linker (ar)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.