From 7db413dcbff61face20ff69cee35895f5f6a7420 Mon Sep 17 00:00:00 2001 From: zk Date: Thu, 30 Jul 2026 11:58:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E7=BD=B2=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 40ece67..f133e76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ # 使用 Python 3.12 slim 镜像 -FROM python:3.12-slim +# 必须固定 bookworm(Debian 12): +# 1. 下面的 sources.list 写的是 bookworm,python:3.12-slim 已滚动到 trixie(Debian 13),混用会导致包名找不到 +# 2. Playwright 1.49 的支持列表里没有 Debian 13,install --with-deps 探测到未知发行版会直接失败 +FROM python:3.12-slim-bookworm ENV TZ=Asia/Shanghai ENV ENV=prod