Use IUT apt mirror (repo.iut.ac.ir) — Iran-based Ubuntu mirror
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ FROM oci.reg.darano.ir/mcr.microsoft.com/playwright:v1.62.0-noble AS worker
|
||||
# Install Python 3.12 + uv (the Playwright image has browsers but no Python).
|
||||
# Use a mirror for apt since the VPS has network restrictions (Iran).
|
||||
# curl is already installed (playwright system dep).
|
||||
RUN printf 'Types: deb\nURIs: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/\nSuites: noble noble-updates noble-security\nComponents: main restricted universe multiverse\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' \
|
||||
RUN printf 'Types: deb\nURIs: http://repo.iut.ac.ir/ubuntu/\nSuites: noble noble-updates noble-security\nComponents: main restricted universe multiverse\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' \
|
||||
> /etc/apt/sources.list.d/ubuntu.sources \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3 python3-venv \
|
||||
|
||||
Reference in New Issue
Block a user