fix(docker): install only required OpenCode workspaces
Generic Container CI/CD / test-build-publish (push) Successful in 5m4s
Agent CI/CD v2 / build-test-publish-and-deploy (push) Successful in 5m4s

This commit is contained in:
2026-09-25 15:10:48 +08:00
parent 4c09eb39cd
commit 0eab59c52e
+1 -1
View File
@@ -63,7 +63,7 @@ COPY patches/opencode-1.18.13-message-phase.patch /tmp/opencode-message-phase.pa
RUN git apply --check /tmp/opencode-message-phase.patch && \
git apply /tmp/opencode-message-phase.patch && \
bun install --frozen-lockfile --ignore-scripts && \
bun install --frozen-lockfile --ignore-scripts --filter ./packages/opencode --filter @opencode-ai/llm && \
bun test --cwd packages/llm test/provider/openai-responses.test.ts && \
OPENCODE_VERSION="$OPENCODE_PATCH_VERSION" bun run --cwd packages/opencode build --single --skip-install --skip-embed-web-ui && \
case "$(uname -m)" in \