𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@programming.dev · 1 year agoStop use dockerlemmy.worldimagemessage-square48linkfedilinkarrow-up199arrow-down15
arrow-up194arrow-down1imageStop use dockerlemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square48linkfedilink
minus-squarepimeys@lemmy.nauk.iolinkfedilinkarrow-up1·1 year agoIt creates a set of symlinks so every program sees exactly the dependencies it needs. https://nixos.org/guides/nix-pills/09-automatic-runtime-dependencies#automatic-runtime-dependencies You can also create a container: https://nixos.wiki/wiki/NixOS_Containers Or you can create reproducible docker containers with nix: https://dev.to/anurag_vishwakarma/a-better-way-to-build-reproducible-docker-images-with-nix-2k59 The secret sauce with nix is reproducibility. If it builds once, it will continue building exactly like that forever. Bit by bit.
It creates a set of symlinks so every program sees exactly the dependencies it needs.
https://nixos.org/guides/nix-pills/09-automatic-runtime-dependencies#automatic-runtime-dependencies
You can also create a container:
https://nixos.wiki/wiki/NixOS_Containers
Or you can create reproducible docker containers with nix:
https://dev.to/anurag_vishwakarma/a-better-way-to-build-reproducible-docker-images-with-nix-2k59
The secret sauce with nix is reproducibility. If it builds once, it will continue building exactly like that forever. Bit by bit.