mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-24 20:25:36 -04:00
47d3e7ef9a
- Rename packages/opencode to packages/agent-core - Update bin entry from opencode to agent-core - Set default_agent to "zee" for persona-first UX - Update terminal title to show current persona name - Fix persona colors: - Zee: #2563EB (blue) - Stanley: #059669 (emerald green) - Johny: #DC2626 (red) - Update all documentation and build script references - Update root package.json name and dev script Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
593 B
Docker
19 lines
593 B
Docker
FROM alpine AS base
|
|
|
|
# Disable the runtime transpiler cache by default inside Docker containers.
|
|
# On ephemeral containers, the cache is not useful
|
|
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
|
|
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=${BUN_RUNTIME_TRANSPILER_CACHE_PATH}
|
|
RUN apk add libgcc libstdc++ ripgrep
|
|
|
|
FROM base AS build-amd64
|
|
COPY dist/opencode-linux-x64-baseline-musl/bin/opencode /usr/local/bin/opencode
|
|
|
|
FROM base AS build-arm64
|
|
COPY dist/opencode-linux-arm64-musl/bin/opencode /usr/local/bin/opencode
|
|
|
|
ARG TARGETARCH
|
|
FROM build-${TARGETARCH}
|
|
RUN opencode --version
|
|
ENTRYPOINT ["opencode"]
|