From afedccf9343194e0be4eeaef713750e1a2a65eba Mon Sep 17 00:00:00 2001 From: hex2077 Date: Sat, 28 Feb 2026 00:06:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B32.9.9.32=E5=B9=B6=E4=BC=98=E5=8C=96Docker?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新VERSION文件中的版本号 - 在go mod download失败时继续执行构建 - 在构建tls-sidecar前执行go mod tidy以确保依赖整洁 --- Dockerfile | 4 ++-- VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc6a56d..a1c678f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ RUN apk add --no-cache git WORKDIR /build COPY tls-sidecar/go.mod tls-sidecar/go.sum* ./ -RUN go mod download +RUN go mod download || true COPY tls-sidecar/ ./ -RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o tls-sidecar . +RUN go mod tidy && CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o tls-sidecar . # ── Stage 2: Node.js 应用 ── # 使用官方Node.js运行时作为基础镜像 diff --git a/VERSION b/VERSION index 3241fd9..4729c69 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.9.9.31 +2.9.9.32