From 70a924cfba6478f0a3817eb402c9f45b1bd8fe12 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 4 Apr 2026 23:43:12 +0000 Subject: [PATCH] fix: add tini init to devpod to reap zombie bun processes bun --watch spawns new processes on file changes but code-server (PID 1) doesn't reap orphans, causing zombie accumulation and port conflicts. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile.devpod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.devpod b/Dockerfile.devpod index b082352..9d9ae9f 100644 --- a/Dockerfile.devpod +++ b/Dockerfile.devpod @@ -8,7 +8,7 @@ ENV PATH="/usr/local/bin:/root/.bun/bin:$PATH" RUN apt-get update && apt-get install -y --no-install-recommends \ curl wget git openssh-server ca-certificates gnupg \ build-essential unzip zip jq tmux zsh ripgrep \ - postgresql-client redis-tools haproxy \ + postgresql-client redis-tools haproxy tini \ nano vim htop netcat-openbsd dnsutils iputils-ping \ && rm -rf /var/lib/apt/lists/* @@ -44,4 +44,4 @@ RUN chmod +x /entrypoint.sh WORKDIR /root EXPOSE 8080 22 -ENTRYPOINT ["/entrypoint.sh"] +ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"]