From dfc315c8018f4d19014ea2f3bf234600de61726a Mon Sep 17 00:00:00 2001 From: Martin <1403951401@qq.com> Date: Sun, 5 Jan 2025 20:57:51 +0800 Subject: [PATCH] =?UTF-8?q?[+]=20=E6=B7=BB=E5=8A=A0=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5758011..7f2a140 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ docker compose run ubuntu ./init-apt.sh ```bash RUN --mount=type=cache,target=/var/cache/apt \ --mount=type=cache,target=/var/lib/apt \ - sed -i '6,$d' /etc/apt/sources.list.d/debian.sources && \ - sed -i 's|http://deb.debian.org/debian|https://mirrors.martin98.com/repository/debian-tsinghua/|g' /etc/apt/sources.list.d/debian.sources && \ + sed -i '6,$d' /etc/apt/sources.list.d/dhttps://mirrors.mebian.sources && \ + sed -i 's|http://deb.debian.org/debian|artin98.com/repository/debian-tsinghua/|g' /etc/apt/sources.list.d/debian.sources && \ apt update && \ apt install -y --no-install-recommends \ gcc \ @@ -47,4 +47,9 @@ RUN --mount=type=cache,target=/var/cache/apt \ #### Python 镜像源配置测试 ```bash pip config set global.index-url https://mirrors.martin98.com/repository/pypi-group/simple +``` + +#### NPM +```bash +npm config set registry https://mirrors.martin98.com/repository/npm-group/ ``` \ No newline at end of file