From 9990476c4bc720dd8c15fdf87660b156da817d00 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 8 Nov 2024 17:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3ff4092..2aae2c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,9 @@ 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/zyos ./zyos