[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are Guix-generated Docker images reproducible?
From: |
Suhail Singh |
Subject: |
Re: Are Guix-generated Docker images reproducible? |
Date: |
Mon, 16 Sep 2024 09:21:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Konrad Hinsen <konrad.hinsen@fastmail.net> writes:
> Suppose you do
>
> guix time-machine --channels=channels.scm -- \
> pack --format=docker --manifest=manifest.scm
>
> You keep a copy of channels.scm and manifest.scm, and run the same
> command a few months (and "guix pull"s) later, can you expect to get the
> exact same Docker image file, bit for bit? If not, why not?
Based on what I have observed, I know that you can get the same docker
image (as identified by the image ID hash) in some instances. A
necessary condition, I imagine, would have to be for the build results
to be deterministic (i.e., the derivations to be "reproducible").
--
Suhail