diff options
author | Paul B <paul@bonaud.fr> | 2018-10-26 11:14:29 +0200 |
---|---|---|
committer | Paul B <paul@bonaud.fr> | 2018-10-26 11:14:29 +0200 |
commit | 89f0519e224b69c975d16cc27f0ded89a515dfb3 (patch) | |
tree | 8547c2a58d273af1f4d061d1b889d2a04978563b /README.md | |
download | docker-nix-89f0519e224b69c975d16cc27f0ded89a515dfb3.tar.gz docker-nix-89f0519e224b69c975d16cc27f0ded89a515dfb3.tar.zst docker-nix-89f0519e224b69c975d16cc27f0ded89a515dfb3.zip |
Initial nix docker image
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..d1f7241 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,14 @@ | |||
1 | ## Nix package manager Docker Image | ||
2 | |||
3 | This image contains an installation of the [Nix package manager](https://nixos.org/nix/) installed as a single-user `nixuser`. | ||
4 | |||
5 | This is based on the unpublished Dockerfile of https://github.com/romcheck/nix. | ||
6 | |||
7 | Use this build to create your own customized images as follows: | ||
8 | |||
9 | FROM fretlink/nix | ||
10 | |||
11 | RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs | ||
12 | RUN nix-channel --update | ||
13 | |||
14 | RUN nix-build -A pythonFull '<nixpkgs>' | ||