mc-ingress/docker.nix
Tamipes fb52167fc2
Some checks failed
/ build (push) Failing after 30s
feat: use Entrypoint instead of Cmd for the container image;
this fixes sigterm issue
2026-06-07 22:59:22 +02:00

15 lines
458 B
Nix

{ dockerTools, my-crate }:
dockerTools.buildLayeredImage {
name = my-crate.pname;
tag = "latest";
contents = [ my-crate ];
config.Entrypoint = [ ("/bin/" + my-crate.pname) ];
Labels = {
"org.opencontainers.image.title" = "Minecraft Ingress";
"org.opencontainers.image.source" = "https://git.tami.moe/tamipes/mc-ingress";
"org.opencontainers.image.vendor" = "Tamipes";
"org.opencontainers.image.version" = my-crate.version;
};
}