問題文
A project must be reproducible on another engineer's machine. Which artifact is the minimum that makes the software side reproducible?
選択肢
- A written note in the repository describing which major library versions were in use at the time, because the resolver will find a compatible set from that starting point and pinning exact versions makes the environment brittle when security updates are published for any of the dependencies.
- A container image, which removes the need for any specification file at all because the image already contains the resolved environment and can be pulled by name on the other machine.
- An environment specification that names every direct dependency with a version constraint and the channels or indexes they come from.
- The list of installed packages produced by the package manager after the fact, and that list records the exact versions that were present at the moment the work was done.