From 14f2f6f312be840be446d978549995a999e0bf38 Mon Sep 17 00:00:00 2001 From: xiao Date: Mon, 4 Nov 2024 22:01:54 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=B0=9D=E8=AF=95=E8=A7=A3=E5=86=B3MyS?= =?UTF-8?q?QL=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arm64/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arm64/Dockerfile b/arm64/Dockerfile index 7a29639..53ab450 100644 --- a/arm64/Dockerfile +++ b/arm64/Dockerfile @@ -56,6 +56,9 @@ RUN curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \ RUN curl -o /lnmp/php.sh https://download.bt.cn/install/4/php.sh \ && sh /lnmp/php.sh install 8.3 +# 确保 time.h 头文件被正确包含 +RUN echo '#include ' >> /usr/include/my_global.h + # 安装 MySQL 5.7 RUN curl -o /lnmp/mysql.sh https://download.bt.cn/install/4/mysql.sh \ && sh /lnmp/mysql.sh install 5.7