From d89c3e68f69d0ae2649692d33c6ca9aab28d9281 Mon Sep 17 00:00:00 2001 From: chaodufashi Date: Wed, 15 Apr 2026 00:58:03 +0000 Subject: [PATCH] fix(docker): add procps to all Dockerfiles for HEALTHCHECK pgrep All Dockerfiles use 'pgrep -x openab' in their HEALTHCHECK but procps was not installed in the node:22-bookworm-slim base image, causing health checks to always fail silently. Add procps to the apt-get install line in: - Dockerfile - Dockerfile.claude - Dockerfile.codex - Dockerfile.copilot - Dockerfile.gemini --- Dockerfile | 2 +- Dockerfile.claude | 2 +- Dockerfile.codex | 2 +- Dockerfile.copilot | 2 +- Dockerfile.gemini | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 447918fd..9e6ccc5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN touch src/main.rs && cargo build --release # --- Runtime stage --- FROM debian:bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl unzip && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps unzip && rm -rf /var/lib/apt/lists/* # Install kiro-cli (auto-detect arch, copy binary directly) ARG KIRO_CLI_VERSION=2.0.0 diff --git a/Dockerfile.claude b/Dockerfile.claude index 32803a0d..4a309794 100644 --- a/Dockerfile.claude +++ b/Dockerfile.claude @@ -8,7 +8,7 @@ RUN touch src/main.rs && cargo build --release # --- Runtime stage --- FROM node:22-bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps && rm -rf /var/lib/apt/lists/* # Install claude-agent-acp adapter and Claude Code CLI ARG CLAUDE_CODE_VERSION=2.1.104 diff --git a/Dockerfile.codex b/Dockerfile.codex index 228e67c8..a2de9f3e 100644 --- a/Dockerfile.codex +++ b/Dockerfile.codex @@ -8,7 +8,7 @@ RUN touch src/main.rs && cargo build --release # --- Runtime stage --- FROM node:22-bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps && rm -rf /var/lib/apt/lists/* # Pre-install codex-acp and codex CLI globally ARG CODEX_VERSION=0.120.0 diff --git a/Dockerfile.copilot b/Dockerfile.copilot index 3a68fb8f..d1033ef1 100644 --- a/Dockerfile.copilot +++ b/Dockerfile.copilot @@ -8,7 +8,7 @@ RUN touch src/main.rs && cargo build --release # --- Runtime stage --- FROM node:22-bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps && rm -rf /var/lib/apt/lists/* # Install GitHub Copilot CLI via npm (pinned version) ARG COPILOT_VERSION=1.0.25 diff --git a/Dockerfile.gemini b/Dockerfile.gemini index 863a7ba1..484553ff 100644 --- a/Dockerfile.gemini +++ b/Dockerfile.gemini @@ -8,7 +8,7 @@ RUN touch src/main.rs && cargo build --release # --- Runtime stage --- FROM node:22-bookworm-slim -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps && rm -rf /var/lib/apt/lists/* # Install Gemini CLI (native ACP support via --acp) ARG GEMINI_CLI_VERSION=0.37.2