nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (326B)


      1 { dockerTools, git }:
      2 
      3 dockerTools.buildImage {
      4   name = "git";
      5   tag = git.version;
      6 
      7   contents = [ git ];
      8   runAsRoot = "mkdir -p /git";
      9 
     10   config = {
     11     Cmd = [
     12       "git"
     13       "daemon"
     14       "--base-path=/git"
     15     ];
     16     Volumes = {
     17       "/git" = { };
     18     };
     19     ExposedPorts = {
     20       "9418/tcp" = { };
     21     };
     22   };
     23 }