2022-01-30 17:06:58 +01:00
|
|
|
{ depot ? import ../../../.. { }
|
2021-11-07 21:46:43 +01:00
|
|
|
, pkgs ? depot.third_party.nixpkgs
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (depot.users.grfn) xanthous;
|
|
|
|
xanthous-server = xanthous.server;
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
pkgs.dockerTools.buildLayeredImage {
|
2021-11-07 21:46:43 +01:00
|
|
|
name = "xanthous-server";
|
|
|
|
tag = "latest";
|
|
|
|
contents = [ xanthous xanthous-server ];
|
|
|
|
config = {
|
|
|
|
Cmd = [
|
|
|
|
"${xanthous-server}/bin/xanthous-server"
|
2022-01-30 17:06:58 +01:00
|
|
|
"--xanthous-binary-path"
|
|
|
|
"${xanthous}/bin/xanthous"
|
2021-11-07 21:46:43 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|