Skip to content

Commit

Permalink
Update docker_install_jd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lan-tianxiang authored Mar 20, 2021
1 parent b36b701 commit 5a952d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_scripts/docker_install_jd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a952d7

Please sign in to comment.