add
This commit is contained in:
parent
89a5e52857
commit
b1bce024de
21
docker.nix.bak
Normal file
21
docker.nix.bak
Normal file
@ -0,0 +1,21 @@
|
||||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
|
||||
callPackage = pkgs.lib.callPackageWith pkgs;
|
||||
|
||||
hoc = callPackage ./default.nix { };
|
||||
|
||||
dockerImage = pkg:
|
||||
pkgs.dockerTools.buildImage {
|
||||
name = "vbrandl/hits-of-code";
|
||||
tag = hoc.version;
|
||||
|
||||
contents = [ pkg ];
|
||||
|
||||
config = {
|
||||
Cmd = [ "/bin/hoc" ];
|
||||
WorkingDir = "/";
|
||||
};
|
||||
};
|
||||
|
||||
in dockerImage hoc
|
Loading…
Reference in New Issue
Block a user