From fb52167fc2d3a229fd7b96ec9983927294e993b5 Mon Sep 17 00:00:00 2001 From: Tamipes Date: Sun, 7 Jun 2026 22:59:22 +0200 Subject: [PATCH] feat: use `Entrypoint` instead of `Cmd` for the container image; this fixes sigterm issue --- docker.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker.nix b/docker.nix index fb2aa97..1a9d13c 100644 --- a/docker.nix +++ b/docker.nix @@ -5,5 +5,11 @@ dockerTools.buildLayeredImage { contents = [ my-crate ]; - config.Cmd = [ ("/bin/" + my-crate.pname) ]; + 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; + }; }