- 品牌替换:OpenCode/opencode → AirCoding/aircoding(16+ 文件) - Logo ASCII art:修复 left/right 行数不匹配导致的启动崩溃 - 启动诊断:添加 OPENCODE_PRINT_TIMING 计时探针 - dev 模式默认 --pure 跳过外部插件加载 - AGENTS.md 模板:追加 AirCoding 多 Agent 专项段落 - architect prompt + plugin:强化 AGENTS.md 产出验证
25 lines
707 B
Docker
25 lines
707 B
Docker
ARG REGISTRY=ghcr.io/anomalyco
|
|
FROM ${REGISTRY}/build/base:24.04
|
|
|
|
SHELL ["/bin/bash", "-lc"]
|
|
|
|
ARG NODE_VERSION=24.4.0
|
|
ARG BUN_VERSION=1.3.14
|
|
|
|
ENV BUN_INSTALL=/opt/bun
|
|
ENV PATH=/opt/bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
RUN set -euo pipefail; \
|
|
arch=$(uname -m); \
|
|
node_arch=x64; \
|
|
if [ "$arch" = "aarch64" ]; then node_arch=arm64; fi; \
|
|
curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${node_arch}.tar.xz" \
|
|
| tar -xJf - -C /usr/local --strip-components=1; \
|
|
corepack enable
|
|
|
|
RUN set -euo pipefail; \
|
|
curl -fsSL https://bun.sh/install | bash -s -- "bun-v${BUN_VERSION}"; \
|
|
bun --version; \
|
|
node --version; \
|
|
npm --version
|