Files
ci-images/img/immich.nix
T

29 lines
401 B
Nix
Raw Normal View History

2025-11-25 22:42:47 -06:00
{
immich-go,
cacert,
2026-05-07 10:40:27 -05:00
coreutils,
2025-11-25 22:42:47 -06:00
dockerTools,
lib,
name,
...
}:
dockerTools.buildLayeredImage {
name = name "immich";
tag = "latest";
contents = [
2026-05-07 10:40:27 -05:00
coreutils
2025-11-25 22:42:47 -06:00
dockerTools.binSh
dockerTools.caCertificates
immich-go
];
config = {
Cmd = [
(lib.getExe immich-go)
];
Env = [
"CURL_CA_BUNDLE=${cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
}