buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build images / Build (immich) (push) Successful in 1m15s
Build images / Build (bitwarden) (push) Successful in 2m29s
Build images / Build (builder) (push) Successful in 4m13s
Build images / Build (vm-test) (push) Successful in 4m13s
Build images / Build (sword-container-builder) (push) Successful in 4m11s
29 lines
401 B
Nix
29 lines
401 B
Nix
{
|
|
immich-go,
|
|
cacert,
|
|
coreutils,
|
|
dockerTools,
|
|
lib,
|
|
|
|
name,
|
|
...
|
|
}:
|
|
dockerTools.buildLayeredImage {
|
|
name = name "immich";
|
|
tag = "latest";
|
|
contents = [
|
|
coreutils
|
|
dockerTools.binSh
|
|
dockerTools.caCertificates
|
|
immich-go
|
|
];
|
|
config = {
|
|
Cmd = [
|
|
(lib.getExe immich-go)
|
|
];
|
|
Env = [
|
|
"CURL_CA_BUNDLE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
|
];
|
|
};
|
|
}
|