Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nix-community/docker-nix
Docker image for nix [maintainer=@zimbatm] [status=deprecated]
https://github.com/nix-community/docker-nix
docker-image nix nix-image
Last synced: 3 months ago
JSON representation
Docker image for nix [maintainer=@zimbatm] [status=deprecated]
- Host: GitHub
- URL: https://github.com/nix-community/docker-nix
- Owner: nix-community
- License: apache-2.0
- Archived: true
- Created: 2017-09-08T16:00:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-19T16:14:57.000Z (over 4 years ago)
- Last Synced: 2024-04-15T11:59:31.275Z (9 months ago)
- Topics: docker-image, nix, nix-image
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/nixorg/nix/
- Size: 39.1 KB
- Stars: 39
- Watchers: 9
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nix docker image
**STATUS: Deprecated**: see https://github.com/nix-community/docker-nixpkgs
This improves on top of the nixos/nix image as it removes all Alpine Linux
dependencies.The image doesn't contain any channels to reduce the default image size and
encourage users to fully pin their dependency set.## Usage
```Dockerfile
FROM nixorg/nix:latest
RUN nix run -f channel:nixos-18.03 hello -c hello
```### CircleCI
CircleCI assumes that git and openssh are available in the container to clone the repository. This is out of our control and we therefor cannot rely on nix-shell to pull in these dependencies.
Another image at `nixorg/nix:circleci` is published that contains these additional dependencies.
This branch is regularily rebased on top of master.
## Update
The `./update.sh` script is used to get the latest nix release.
## TODO
* /etc/passwd contains a lot of useless entries
# See also
* nixos/nix: published from the nixos/nix repo
* lnl7/nix: https://github.com/LnL7/nix-docker