mirror of https://gitlab.com/famedly/conduit
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
419 B
Nix
26 lines
419 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}"
|
|
];
|
|
};
|
|
}
|