LnL7 / nix-docker

Docker images for the Nix package manager
MIT License
288 stars 41 forks source link

nix-docker bootstrap and start script #11

Open adelbertc opened 7 years ago

adelbertc commented 7 years ago

So I may have gone overboard and rewritten the bootstrap script into something fancier. Unsure if this is something you'd want as part of the project but I'm finding it useful to have on my MacBook to build Docker images with since Nix + Docker + OSX does not make for a good time.

Also per our IRC conversation earlier today, the missing pieces were:

with import <nixpkgs> { system = "x86_64-linux"; };

pkgs.dockerTools.buildImage {
  name = "nix-htop";
  contents = pkgs.htop;
  config = {
    Cmd = [ "/bin/htop" ];
  };
}