Skip to content

Commit

Permalink
增加安装Https根证书工具包
Browse files Browse the repository at this point in the history
  • Loading branch information
Maple-mxf committed Mar 24, 2022
1 parent c8f507c commit 5f20568
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ RUN GOOS=linux GOARCH=amd64 go build -o main .
# 选用运行时所用基础镜像(GO语言选择原则:尽量体积小、包含基础linux内容的基础镜像)
FROM alpine:3.13

# 容器默认时区为UTC,如需使用上海时间请启用以下时区设置命令
# RUN apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone

# 使用 HTTPS 协议访问容器云调用证书安装
# RUN apk add ca-certificates

# 指定运行时的工作目录
WORKDIR /wxcloudrun-wxcomponent

Expand Down

0 comments on commit 5f20568

Please sign in to comment.