From 1e3d4bceaa80ad263c8e0b1b6d27fc62011b7af7 Mon Sep 17 00:00:00 2001 From: Julia McGhee Date: Sat, 21 Mar 2026 17:41:05 +0000 Subject: [PATCH] Install opencode via curl installer (Go binary, not on npm) --- apps/harness/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/harness/Dockerfile b/apps/harness/Dockerfile index 6ce8355..3898784 100644 --- a/apps/harness/Dockerfile +++ b/apps/harness/Dockerfile @@ -17,10 +17,11 @@ WORKDIR /app ENV NODE_ENV=production # System tools needed by agent executors -RUN apk add --no-cache git github-cli +RUN apk add --no-cache git github-cli curl # Agent CLIs (installed globally before dropping to non-root) -RUN npm install -g @anthropic-ai/claude-code @openai/codex +RUN npm install -g @anthropic-ai/claude-code @openai/codex \ + && curl -fsSL https://opencode.ai/install | sh RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs