From badfd95b20af9aec6fb46b4b9d6455894a8c7a96 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 12 Dec 2024 18:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=94=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8468374..ba6597e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,10 @@ ENV TZ="Asia/Shanghai" 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