Skip to content

Docker multi-stage build for compiling nixos.

License

Notifications You must be signed in to change notification settings

sstent/docker-nixos

 
 

Repository files navigation

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

docker build -t skiffos/skiff-core-nixos:latest .
docker run --privileged -d --name=nix skiffos/skiff-core-nixos:latest

License

MIT

About

Docker multi-stage build for compiling nixos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 43.3%
  • Nix 30.4%
  • Dockerfile 26.3%