Install opencode via curl installer (Go binary, not on npm)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user