diff options
author | Ben Sima <ben@bsima.me> | 2021-12-07 13:28:18 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-12-07 13:28:18 -0500 |
commit | ab590a59b01ff26e691874968a9aba419aaf6882 (patch) | |
tree | 95b741945896f4c99a2d2675341192f8749cd4a9 /Biz | |
parent | 32a13c8941538fd38d91091f99efe79baacb700f (diff) |
Stub out dragons-analyze docker image
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Bild.hs | 3 | ||||
-rw-r--r-- | Biz/Dragons/Analysis.nix | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs index 5b5aa0d..26bf120 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -270,7 +270,8 @@ isBuildableNs ns [ Namespace ["Biz", "Pie"] Namespace.Nix, Namespace ["Biz", "Que"] Namespace.Nix, Namespace ["Biz", "Cloud"] Namespace.Nix, - Namespace ["Biz", "Dev"] Namespace.Nix + Namespace ["Biz", "Dev"] Namespace.Nix, + Namespace ["Biz", "Dragons", "Analysis"] Namespace.Nix ] -- | Emulate the *nix hierarchy in the cabdir. diff --git a/Biz/Dragons/Analysis.nix b/Biz/Dragons/Analysis.nix new file mode 100644 index 0000000..cd8cd38 --- /dev/null +++ b/Biz/Dragons/Analysis.nix @@ -0,0 +1,16 @@ +{ bild ? import ../Bild.nix {} }: + +bild.image { + name = "dragons-analyze"; + tag = "latest"; + + fromImage = null; + fromImageName = null; + fromImageTag = "latest"; + + contents = bild.ghc ./Analysis.hs; + + config = { + Cmd = [ "/bin/dragons-analyze" ]; + }; +} |