3 ms·
It's not reproducible then, it's simply cached. It's a valid approach but there's tradeoffs of course.
by xyzzy_plugh 8mo ago
It's not reproducible then, it's simply cached. It's a valid approach but there's tradeoffs of course.
- verdverm 8mo agoit's not an either or, it can be reproducible and cached similarly, nix cannot guarantee reproducibility if the user does things to break that possibility
- xyzzy_plugh 8mo agoThe difference is that you can blow the Nix cache away and reproduce it entirely. The same cannot be said for Docker.
- verdverm 8mo agoThat's not true Docker has a `--no-cache` flag, even easier than blowing it away, which you can also do with several built in commands or a rm -rf /var/lib/docker Perhaps worth revisiting: https://docs.docker.com/build/cache/ https://docs.docker.com/build/cache/
- mkesper 8mo agoThat will rebuild the cache from upstream but not reproducibly.