feat: add nix-unstable-static docker image

This is a special docker images that contains no /nix/store. And only
static binaries in /bin.

The main use-case is to be able to bind-mount /nix from the host
into the container.
This commit is contained in:
zimbatm 2022-06-27 16:53:48 +02:00
parent cb688a90e3
commit 272875d0af
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# nix-unstable-static
This is a special variant of the nix image that contains no `/nix/store`.
Instead, nix and all the supporting binaries are statically built and copied
into /bin.
The main use-case is to be able to run nix in the container, but share the
`/nix/store` with the host.