2022-01-30 17:06:58 +01:00
|
|
|
{ depot ? import ../../../.. { }
|
2021-11-07 21:46:43 +01:00
|
|
|
, pkgs ? depot.third_party.nixpkgs
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2024-02-12 04:00:40 +01:00
|
|
|
inherit (depot.users.aspen) xanthous;
|
2021-11-07 21:46:43 +01:00
|
|
|
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
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|