From 1182bc3d5c0247773f11e4f2e714acd954fe403d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 11 Dec 2024 18:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile-prd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile-prd b/Dockerfile-prd index 927b098..7af7280 100644 --- a/Dockerfile-prd +++ b/Dockerfile-prd @@ -24,6 +24,10 @@ COPY static/html static/html RUN rm -f /etc/localtime \ && ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone + +# 更新 CA 证书库 +RUN apt-get update && apt-get install -y ca-certificates + # 在build阶段复制可执行的go二进制文件app COPY --from=build /go/release/egg ./egg