diff --git a/Dockerfile b/Dockerfile index f3b5496..d2bdaf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,6 +84,9 @@ RUN docker-php-ext-configure ldap --with-libdir=lib/ && \ RUN apk add --no-cache make RUN pecl install redis && docker-php-ext-enable redis +# 安装 tzdate +RUN apk add --no-cache tzdata + # 创建必要的目录 RUN mkdir -p /var/www/html \ /var/log/nginx \ diff --git a/build.sh b/build.sh index c029f76..96a73c4 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ -VERSION="0.1.2" -docker buildx build --platform linux/amd64 -t common-nginx-fpm:$VERSION . +VERSION="0.1.3" +docker buildx build --platform linux/amd64 -t common-nginx-fpm:$VERSION --load . docker tag common-nginx-fpm:$VERSION common-nginx-fpm:latest