From 5a952d7c414951839e641db279bbc92c4ba55e69 Mon Sep 17 00:00:00 2001 From: lan-tianxiang <42911023+lan-tianxiang@users.noreply.github.com> Date: Sat, 20 Mar 2021 16:41:22 +0800 Subject: [PATCH] Update docker_install_jd.sh --- install_scripts/docker_install_jd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_scripts/docker_install_jd.sh b/install_scripts/docker_install_jd.sh index 83947780..addfddad 100644 --- a/install_scripts/docker_install_jd.sh +++ b/install_scripts/docker_install_jd.sh @@ -203,7 +203,7 @@ if [ $NewImage = true ]; then mkdir -p $WorkDir wget -q https://cdn.jsdelivr.net/gh/lan-tianxiang/jd_shell/docker/Dockerfile -O $WorkDir/Dockerfile sed -i 's,github.com,github.com.cnpmjs.org,g' $WorkDir/Dockerfile - sed -i 's,npm install,npm install --registry=https://mirrors.huaweicloud.com/repository/npm/,g' $WorkDir/Dockerfile + sed -i 's,npm install,npm install --registry=https://registry.npm.taobao.org,g' $WorkDir/Dockerfile docker build -t $DockerImage $WorkDir > $ShellDir/build_jd_image.log rm -fr $WorkDir else