2021-04-21 09:59:27 +02:00
|
|
|
let Sigil =
|
|
|
|
env:DHALL_SIGIL
|
|
|
|
? https://git.sr.ht/~ehmry/dhall-sigil/blob/trunk/package.dhall
|
2020-04-26 07:18:38 +02:00
|
|
|
|
2021-03-28 15:07:21 +02:00
|
|
|
let Init = Sigil.Init
|
2020-04-26 07:18:38 +02:00
|
|
|
|
|
|
|
let Child = Init.Child
|
|
|
|
|
2021-02-16 15:25:30 +01:00
|
|
|
in λ(binary : Text) →
|
|
|
|
Child.flat
|
|
|
|
Child.Attributes::{
|
|
|
|
, binary
|
|
|
|
, exitPropagate = True
|
2021-03-28 15:07:21 +02:00
|
|
|
, resources = Init.Resources::{ caps = 2048, ram = Sigil.units.MiB 256 }
|
|
|
|
, routes = [ Sigil.Init.ServiceRoute.parent "VM" ]
|
2021-02-16 15:25:30 +01:00
|
|
|
}
|