Use parsvds.com as Ubuntu apt mirror
Replace repo.iut.ac.ir with ubuntu.parsvds.com for better connectivity from Iran. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ FROM oci.reg.darano.ir/mcr.microsoft.com/playwright:v1.62.0-noble AS worker
|
|||||||
|
|
||||||
# Install Python 3.12 + uv, then sync deps — all in one RUN.
|
# Install Python 3.12 + uv, then sync deps — all in one RUN.
|
||||||
# Use a mirror for apt since the VPS has network restrictions (Iran).
|
# Use a mirror for apt since the VPS has network restrictions (Iran).
|
||||||
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' \
|
RUN printf 'Types: deb\nURIs: http://ubuntu.parsvds.com/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 \
|
> /etc/apt/sources.list.d/ubuntu.sources \
|
||||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||||
python3 python3-venv \
|
python3 python3-venv \
|
||||||
|
|||||||
Reference in New Issue
Block a user