3

Matthew Croughan - Use flake.nix, not Dockerfile - MCH2022

 1 year ago
source link: https://www.youtube.com/watch?v=0uixRE8xlbY
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

28 Comments

Sort by
Add a comment...
Thank you, Matthew, for presenting this presentation! It was awesome! Please do more! :-)
Love the distinction between repeatable and reproducible :)
I'm not denying the usefulness of nix and/or if whether it's better than Dockerfile or not (quite frankly I don't know nix enough to have an opinion there), but you can create reproducible builds fine using Dockerfiles. Docker gives you plenty of tools including things like "from scratch" and multi-stage builds. Doing an apt-get update and using that same layer obviously messes things up. General practice is removing the apt caches in the same layer, which will get rid of those timestamps and the general caches you complain about. You don't have to use latest either (you can use it's sha256 reference). And lastly, surely debian repos going down is an issue, but it's the same for the hello tar ball on gnu's ftp servers.

Read more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK