feat: support python3.8
This commit is contained in:
@@ -17,6 +17,9 @@ WORKDIR /app
|
||||
# uv 包管理器(多个业务镜像都需要)
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
|
||||
RUN uv python install 3.8
|
||||
RUN uv python install 3.10
|
||||
|
||||
# 替换 apt 源为阿里云镜像(兼容 debian.sources / sources.list 两种格式)
|
||||
RUN ( \
|
||||
sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list.d/debian.sources 2>/dev/null || \
|
||||
|
||||
Reference in New Issue
Block a user