mc-ingress/docker.nix
Tamipes 3f8fb4a01f
All checks were successful
/ build (push) Successful in 5m25s
fix: docker-image would not build due to syntax mistake
2026-06-08 01:00:37 +02:00

17 lines
483 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;
};
};
}