修复:未支持docker运行环境的必要依赖
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user