2021-11-07 21:46:43 +01:00
|
|
|
{ depot ? import ../../../.. { }
|
|
|
|
, 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;
|
|
|
|
in
|
|
|
|
pkgs.dockerTools.buildLayeredImage {
|
|
|
|
name = "xanthous-server";
|
|
|
|
tag = "latest";
|
|
|
|
contents = [ xanthous xanthous-server ];
|
|
|
|
config = {
|
|
|
|
Cmd = [
|
|
|
|
"${xanthous-server}/bin/xanthous-server"
|
|
|
|
"--xanthous-binary-path"
|
|
|
|
"${xanthous}/bin/xanthous"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|