From 42061e38c05b125c723dc19ff55f4e59bda9e9a9 Mon Sep 17 00:00:00 2001 From: shanshanzhong Date: Tue, 14 Oct 2025 08:16:15 -0700 Subject: [PATCH] =?UTF-8?q?build(Dockerfile):=20=E5=B0=86=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E9=95=9C=E5=83=8F=E4=BB=8Ealpine=E6=94=B9=E4=B8=BAscr?= =?UTF-8?q?atch=E4=BB=A5=E5=87=8F=E5=B0=8F=E9=95=9C=E5=83=8F=E4=BD=93?= =?UTF-8?q?=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c4321c..c040309 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN BUILD_TIME=$(date -u +"%Y-%m-%d %H:%M:%S") && \ go build -ldflags="-s -w -X 'github.com/perfect-panel/server/pkg/constant.Version=${VERSION}' -X 'github.com/perfect-panel/server/pkg/constant.BuildTime=${BUILD_TIME}'" -o /app/ppanel ppanel.go # Final minimal image -FROM alpine:latest +FROM scratch # Copy CA certificates and timezone data COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/