blob: 9e59dee8037f163aa4056d2e44818265a198c160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ bild }:
# Run this like so:
#
# bild Biz/Dragons/Analysis.nix
# docker load < _/nix/Biz/Dragons/Analysis.nix
# docker run --volume $PWD:/src dragons-analyze dragons-analyze /src/.git
bild.image {
name = "dragons-analyze";
tag = "latest";
fromImage = null;
fromImageName = null;
fromImageTag = "latest";
contents = [ bild.pkgs.git (bild.run ./Analysis.hs) ];
config.Cmd = [ "/bin/dragons-analyze" ];
}
|