aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: 5232b85a935e08b0e14716abc0f09265a893415a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Nix package manager Docker Image

[![Build Status](https://travis-ci.com/fretlink/docker-nix.svg?branch=master)](https://travis-ci.com/fretlink/docker-nix) [![Docker Hub](https://img.shields.io/badge/docker-fretlink%2Fnix-blue.svg?style=flat)](https://registry.hub.docker.com/u/fretlink/nix/)

This image contains an installation of the [Nix package manager](https://nixos.org/nix/) installed as a single-user `nixuser`.

This is based on the unpublished Dockerfile of https://github.com/romcheck/nix.

Use this build to create your own customized images as follows:

    FROM fretlink/nix

    RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
    RUN nix-channel --update

    RUN nix-build -A pythonFull '<nixpkgs>'