News for hackers. Stuff that matters.
Re:Cheap Docker images with Nix by lisivka on Friday April 15, 2016 @02:51PM (#11506699)
It is much easier to just use standard package format (rpm/deb/apk/etc.) and standard installer (yum/dnf/apt/apk/etc.). Of course, you can invent your own build and installation system, it will work too.
Re:Cheap Docker images with Nix by mmerickel on Friday April 15, 2016 @03:35PM (#11507020)
That depends on a lot of factors. The advantage of an approach like this is that every package is built in a clean-room container independent of the host. For example my host is os x and I'm building binary tarballs to run on ubuntu. If you have a build server obviously this is less of an issue.
Re:Cheap Docker images with Nix by lisivka on Sunday April 17, 2016 @07:37AM (#11514187)
Just build .deb's instead of tarballs. Use "alien" to convert .tgz into .deb, for example. I see no reason to invent my own build system, package format and package management software. I build my rpm packages in clean room chroot (using mock) for about decade. It works fine in docker too.