From 2786b011a8ced6b6026771ad0b671df0f768906d Mon Sep 17 00:00:00 2001 From: YGXB_net Date: Fri, 24 Apr 2026 00:32:24 +0800 Subject: [PATCH] =?UTF-8?q?build(docker):=20=E4=BD=BF=E7=94=A8=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=20alpine=20=E9=95=9C=E5=83=8F=E6=9B=BF=E6=8D=A2=20alp?= =?UTF-8?q?ine:latest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Dockerfile 中的基础镜像从 alpine:latest 改为 alpine - 减少镜像标签依赖,使用最新基础镜像版本 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc45c89..fd9f0ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN go env -w CGO_ENABLED=0 \ && go mod tidy \ && go build -o dypid -FROM alpine:latest +FROM alpine WORKDIR /data