6b1179c6b8
- kernel/graph: nodes+edges append-only store - conversation: chained turns, memory node, fold-based reads - session/sessions: durable admission inbox, promotion, serialized runner, eager tool settlement, provider/dialect/transform injected at composition - provider/dialects: raw-wire anthropic + openai-compatible, registry - llm/stream, tools(bash/read/write), auth(local claims), boot composition - providers resolve from ~/.config/neuron/providers.json - no baked vendors
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"]
|