From ba2663552d77321bb91ef112fa4bbebb65a5585c Mon Sep 17 00:00:00 2001 From: jeffusion Date: Wed, 4 Mar 2026 17:27:03 +0800 Subject: [PATCH] fix(docker): add git, ca-certificates, and ripgrep to production image Agent mode requires git for mirror cloning and rg for code search. Both were missing from oven/bun:1-slim causing command failures (exit code -1). Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0d73abb..9667938 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,8 @@ COPY tsconfig.json . # ---- Stage 3: Production ---- FROM oven/bun:1-slim +RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates ripgrep && rm -rf /var/lib/apt/lists/* + WORKDIR /app COPY --from=backend-builder /app/node_modules ./node_modules