nili 1 year ago
parent
commit
999f2ba211
3 changed files with 4 additions and 4 deletions
  1. 1 1
      .github/workflows/auto_build_docker_container.yml
  2. 1 1
      Dockerfile
  3. 2 2
      ztncui.sh

+ 1 - 1
.github/workflows/auto_build_docker_container.yml

@@ -73,7 +73,7 @@ jobs:
           context: ./
           file: ./Dockerfile
           push: true
-          platforms: linux/amd64,linux/arm64,linux/arm/v7
+          platforms: linux/amd64,linux/arm64
           tags: ${{ steps.meta.outputs.tags }}
           labels: ${{ steps.meta.outputs.labels }}
       - name: all Image digest

+ 1 - 1
Dockerfile

@@ -1,5 +1,5 @@
 FROM node:slim AS jsbuilder
-ENV NODEJS_MAJOR=18
+ENV NODEJS_MAJOR=20
 ENV DEBIAN_FRONTEND=noninteractive
 
 # BUILD ZTNCUI IN FIRST STAGE

+ 2 - 2
ztncui.sh

@@ -1,9 +1,9 @@
 #!/bin/bash
 apt update -y
-apt install gnupg2 ca-certificates zip unzip build-essential python3 git sudo curl --no-install-recommends -y
+apt install curl gnupg2 ca-certificates zip unzip build-essential git --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
+apt install -y nodejs
 #rm -f node_inst.sh
 git clone https://github.com/kmahyyg/ztncui-aio.git tmp
 mv tmp/* /build

粤ICP备19079148号