Install opencode via curl installer (Go binary, not on npm)
Some checks failed
CI / lint-and-test (push) Successful in 23s
CI / build (push) Failing after 1m11s

This commit is contained in:
Julia McGhee
2026-03-21 17:41:05 +00:00
parent 188003f0e8
commit 1e3d4bceaa

View File

@@ -17,10 +17,11 @@ WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
# System tools needed by agent executors # 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) # 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 addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 nextjs