From ab590a59b01ff26e691874968a9aba419aaf6882 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 7 Dec 2021 13:28:18 -0500 Subject: Stub out dragons-analyze docker image --- Biz/Bild.hs | 3 ++- Biz/Dragons/Analysis.nix | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Biz/Dragons/Analysis.nix 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" ]; + }; +} -- cgit v1.2.3