From 1594739b04e6b1e2bf5e817a97d0adfc4dd3f22d Mon Sep 17 00:00:00 2001 From: steebchen Date: Fri, 20 Sep 2024 13:41:34 -0400 Subject: [PATCH] feat(Dockerfile): add Tini init system for better process management - Added Tini version v0.19.0 - Configured ENTRYPOINT to use Tini --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 261dac7ad2..80430b625c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,11 @@ RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \ FROM debian:bookworm-slim as base +ENV TINI_VERSION v0.19.0 +ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini +RUN chmod +x /tini +ENTRYPOINT ["/tini", "--"] + ARG TARGETPLATFORM LABEL description="Dojo is a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo" \