https://github.com/paralin/docker-nixos
Docker multi-stage build for compiling nixos.
https://github.com/paralin/docker-nixos
Last synced: 9 months ago
JSON representation
Docker multi-stage build for compiling nixos.
- Host: GitHub
- URL: https://github.com/paralin/docker-nixos
- Owner: paralin
- License: mit
- Created: 2020-10-27T17:49:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T04:55:29.000Z (over 1 year ago)
- Last Synced: 2025-06-10T04:50:28.440Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NixOS Dockerfile
This repository contains a **Dockerfile** of a multi-stage build which produces
a functional NixOS system as the output image.
It uses Ubuntu as an intermediate build environment, which is available for most
architectures. There is a variant for Alpine, but it has issues building - RT34
errors, possibly due to musl.
# Usage
```sh
docker build -t skiffos/skiff-core-nixos:latest .
docker run --privileged -d --name=nix skiffos/skiff-core-nixos:latest
```
# License
MIT