Arch Linux now provides bit-for-bit reproducible Docker images
Key point
Arch Linux has released reproducible Docker images under the `repro` tag.
Details
Arch Linux provides bit-for-bit reproducible Docker images. This extends to Docker the reproducibility milestone achieved for WSL images a few months ago.
- Images are distributed under a dedicated
reprotag. - To ensure reproducibility, the pacman keys have been removed from the default state, so
pacmancannot be used right away. - To install or update packages, you must first regenerate the keyring with
pacman-key --init && pacman-key --populate archlinux.
Reproducibility is verified through digest matching across builds and comparison with diffoci. The reproduction procedure is documented in REPRO.md, and it can be verified using methods like podman inspect --format '{{.Digest}}' <image>.
On the implementation side, the base rootFS for Docker was built deterministically, with the following adjustments applied:
- Setting
SOURCE_DATE_EPOCHand aligning theorg.opencontainers.image.createdlabel - Removing
var/cache/ldconfig/aux-cacheto eliminate non-determinism - Using
--source-date-epochand--rewrite-timestampwithdocker build/podman build
Going forward, the plan is to introduce a rebuilder for Docker images, WSL images, and future reproducible images, enabling periodic automatic rebuilds, verification, and publishing of logs and results.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.