修复:未支持docker运行环境的必要依赖

This commit is contained in:
xintaofei
2026-03-31 13:25:25 +08:00
parent f2a53acc9d
commit 616be7bfe0
2 changed files with 14 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# CI-only Dockerfile: uses pre-built binaries from build-server job
# For local builds, use the standard Dockerfile instead
FROM debian:bookworm-slim
FROM node:22-bookworm-slim
ARG TARGETARCH
@@ -9,6 +9,12 @@ RUN apt-get update && apt-get install -y \
git \
openssh-client \
ca-certificates \
curl \
python3 \
python3-pip \
gcc \
g++ \
make \
&& rm -rf /var/lib/apt/lists/*
COPY dist/${TARGETARCH}/codeg-server /usr/local/bin/codeg-server