From 7d2e3c6743c840d0fcd33b1989a6e5452b31960c Mon Sep 17 00:00:00 2001 From: uy/sun Date: Thu, 26 Dec 2024 09:58:22 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E7=94=A8=E5=9B=9E=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E7=9A=84=E5=86=99=E6=B3=95=E6=96=B9=E4=BE=BF=E5=88=86=E5=88=AB?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=20uv=20=E5=92=8C=20python=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/noneflow.dockerfile | 4 +++- docker/nonetest.dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/noneflow.dockerfile b/docker/noneflow.dockerfile index 1628efd2..ba594ca7 100644 --- a/docker/noneflow.dockerfile +++ b/docker/noneflow.dockerfile @@ -1,4 +1,6 @@ -FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim +# 这样能分别控制 uv 和 Python 版本 +FROM python:3.13.1-slim +COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /bin/uv # 设置时区 ENV TZ=Asia/Shanghai diff --git a/docker/nonetest.dockerfile b/docker/nonetest.dockerfile index 2df050d9..180c44bc 100644 --- a/docker/nonetest.dockerfile +++ b/docker/nonetest.dockerfile @@ -1,4 +1,6 @@ -FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim +# 这样能分别控制 uv 和 Python 版本 +FROM python:3.13.1-slim +COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /bin/uv WORKDIR /app