Ver código fonte

Update ZTNCUI.sh

nili 2 anos atrás
pai
commit
82952798fd
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      dockerfile/ZTNCUI.sh

+ 1 - 3
dockerfile/ZTNCUI.sh

@@ -3,10 +3,8 @@ apt update -y
 apt install curl gnupg2 ca-certificates zip unzip build-essential git sudo --no-install-recommends -y
 curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
 bash node_inst.sh
-sudo apt install -y nodejs --no-install-recommends
+sudo apt install -y nodejs
 rm -f node_inst.sh
-npm config set proxy null
-npm cache clean --force
 git clone https://github.com/kmahyyg/ztncui-aio.git tmp
 mv tmp/* /build
 sed -i "s|git clone https://github.com/key-networks/ztncui||g" build-ztncui.sh

粤ICP备19079148号