mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-29 05:53:48 +03:00
26 lines
414 B
Nix
26 lines
414 B
Nix
|
# Keep sorted
|
||
|
{ default
|
||
|
, dockerTools
|
||
|
, lib
|
||
|
, tini
|
||
|
}:
|
||
|
|
||
|
dockerTools.buildImage {
|
||
|
name = default.pname;
|
||
|
tag = "next";
|
||
|
copyToRoot = [
|
||
|
dockerTools.caCertificates
|
||
|
];
|
||
|
config = {
|
||
|
# Use the `tini` init system so that signals (e.g. ctrl+c/SIGINT)
|
||
|
# are handled as expected
|
||
|
Entrypoint = [
|
||
|
"${lib.getExe' tini "tini"}"
|
||
|
"--"
|
||
|
];
|
||
|
Cmd = [
|
||
|
"${lib.getExe default}"
|
||
|
];
|
||
|
};
|
||
|
}
|