feat: Add timezone data and update version (增加了时区数据并更新版本)
Some checks failed
Build and Push Docker Image to Aliyun Registry / build-and-push (push) Has been cancelled

- Install `tzdata` in Dockerfile (在 `Dockerfile` 中安装 `tzdata` 以支持时区)
- Update version from 0.1.2 to 0.1.3 in `build.sh` (在 `build.sh` 中将版本从 0.1.2 更新到 0.1.3)
This commit is contained in:
Caijinglong 2025-07-04 08:49:02 +08:00
parent 0f32a29a0b
commit ac0af5636d
Signed by: cai
GPG Key ID: 92FBD82121AC80AA
2 changed files with 5 additions and 2 deletions

View File

@ -84,6 +84,9 @@ RUN docker-php-ext-configure ldap --with-libdir=lib/ && \
RUN apk add --no-cache make RUN apk add --no-cache make
RUN pecl install redis && docker-php-ext-enable redis RUN pecl install redis && docker-php-ext-enable redis
# 安装 tzdate
RUN apk add --no-cache tzdata
# 创建必要的目录 # 创建必要的目录
RUN mkdir -p /var/www/html \ RUN mkdir -p /var/www/html \
/var/log/nginx \ /var/log/nginx \

View File

@ -1,3 +1,3 @@
VERSION="0.1.2" VERSION="0.1.3"
docker buildx build --platform linux/amd64 -t common-nginx-fpm:$VERSION . docker buildx build --platform linux/amd64 -t common-nginx-fpm:$VERSION --load .
docker tag common-nginx-fpm:$VERSION common-nginx-fpm:latest docker tag common-nginx-fpm:$VERSION common-nginx-fpm:latest