Dockerfiles showing different ways of installing Nix on top of other distros.
689
Various people around the web have rolled their own scripts for
installing nix that go beyond the limitations of the recommended
install script (curl https://nixos.org/nix/install | sh). For
example, there's a need for scripts to install nix in multi-user mode
when running it on top of another distro.
This is our attempt. It is probably not very portable or future proof. However, as a sanity check, the included Dockerfile does make sure that a given release of nix builds in a clean environment.
Here are some install scripts and/or instructions:
There are also some efforts to build Docker images from nix.
This one, for instance, seems to use the nix binary installer on top of Debian:
Content type
Image
Digest
Size
142.5 MB
Last updated
over 8 years ago
docker pull rrnewton/nix-install-scripts:on-ubuntu-single