feat: use Entrypoint instead of Cmd for the container image;
Some checks failed
/ build (push) Failing after 30s
Some checks failed
/ build (push) Failing after 30s
this fixes sigterm issue
This commit is contained in:
parent
02ff2c5b40
commit
fb52167fc2
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue