Fix harness: add ca-certificates, make opencode install non-fatal
This commit is contained in:
@@ -17,11 +17,12 @@ WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# System tools needed by agent executors
|
||||
RUN apk add --no-cache git github-cli curl
|
||||
RUN apk add --no-cache git github-cli curl ca-certificates
|
||||
|
||||
# Agent CLIs (installed globally before dropping to non-root)
|
||||
RUN npm install -g @anthropic-ai/claude-code @openai/codex \
|
||||
&& curl -fsSL https://opencode.ai/install | sh
|
||||
RUN npm install -g @anthropic-ai/claude-code @openai/codex
|
||||
RUN curl -fsSL https://opencode.ai/install | sh || \
|
||||
echo "WARN: opencode install failed, skipping"
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
Reference in New Issue
Block a user