1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 04:31:05 +08:00

feat(php-unofficial): update php versions and switch to pre-built images

- update php 8.1.32 to 8.1.33 with bookworm base image
- update php 8.4.8 to 8.4.13 with bookworm base image
- switch from local docker builds to pre-built ghcr.io images for all versions
- maintain existing configuration files and environment samples
This commit is contained in:
pooneyy 2025-10-02 22:30:29 +08:00
parent 2c5ac82ec0
commit 833dcbd3cf
No known key found for this signature in database
15 changed files with 37 additions and 49 deletions

View File

@ -1,8 +1,6 @@
services:
php74a:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/pooneyy/php:7.4.33-fpm-alpine-php-unofficial
container_name: ${CONTAINER_NAME}
restart: always
networks:

View File

@ -1,8 +1,6 @@
services:
php74:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/pooneyy/php:7.4.33-fpm-php-unofficial
container_name: ${CONTAINER_NAME}
restart: always
networks:

View File

@ -1,6 +1,6 @@
#Reference Links https://github.com/docker-library/php/issues/926#issuecomment-567230723
FROM php:8.1.33-fpm
FROM php:8.1.33-fpm-bookworm
ARG UNAME=www-data
ARG UGROUP=www-data
@ -91,5 +91,3 @@ RUN docker-php-ext-enable imagick
RUN echo "extension=redis.so" >> /usr/local/etc/php/php.ini
WORKDIR /www

View File

@ -1,8 +1,6 @@
services:
php81:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/pooneyy/php:8.1.33-fpm-bookworm-php-unofficial
container_name: ${CONTAINER_NAME}
restart: always
networks:

View File

@ -1,6 +1,6 @@
#Reference Links https://github.com/docker-library/php/issues/926#issuecomment-567230723
FROM php:8.4.13-fpm
FROM php:8.4.13-fpm-bookworm
ARG UNAME=www-data
ARG UGROUP=www-data
@ -42,19 +42,21 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libicu-dev && \
rm -rf /var/lib/apt/lists/*
# memcached
RUN pecl install memcached
RUN docker-php-ext-enable memcached
RUN pecl install memcached && \
docker-php-ext-enable memcached
# mcrypt
RUN pecl install mcrypt
RUN docker-php-ext-enable mcrypt
RUN pecl install mcrypt && \
docker-php-ext-enable mcrypt
# redis
RUN pecl install redis
RUN docker-php-ext-enable redis
RUN pecl install redis && \
docker-php-ext-enable redis
# imap
RUN pecl install imap && \
docker-php-ext-enable imap
#pecl temporarily does not support PHP8.1 api installation rar
#Reference Links https://stackoverflow.com/questions/73564424/error-while-installing-php-rar-extension-on-ubuntu-server
@ -68,14 +70,12 @@ RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-w
&& docker-php-ext-configure mysqli --with-mysqli=mysqlnd \
&& docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \
&& docker-php-ext-configure zip \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install -j "$(nproc)" \
gd \
intl \
mysqli \
pdo_mysql \
zip \
imap \
fileinfo \
xsl \
bcmath \
@ -91,5 +91,3 @@ RUN docker-php-ext-enable imagick
RUN echo "extension=redis.so" >> /usr/local/etc/php/php.ini
WORKDIR /www

View File

@ -1,8 +1,6 @@
services:
php81:
build:
context: .
dockerfile: Dockerfile
php84:
image: ghcr.io/pooneyy/php:8.4.13-fpm-bookworm-php-unofficial
container_name: ${CONTAINER_NAME}
restart: always
networks:

View File

@ -1,20 +1,20 @@
name: PHP-Unofficial
tags:
- 工具
title: PHP是一种流行的服务器端脚本语言
type: 工具
description: PHP是一种流行的服务器端脚本语言
additionalProperties:
key: php-unofficial
name: PHP-Unofficial
tags:
- Tool
shortDescZh: PHP是一种流行的服务器端脚本语言
shortDescEn: PHP is a popular server-side scripting language
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://www.php.net/
github: https://github.com/php/php-src
document: https://www.php.net/docs.php
name: PHP-Unofficial
tags:
- 工具
title: PHP是一种流行的服务器端脚本语言
type: 工具
description: PHP是一种流行的服务器端脚本语言
additionalProperties:
key: php-unofficial
name: PHP-Unofficial
tags:
- Tool
shortDescZh: PHP是一种流行的服务器端脚本语言
shortDescEn: PHP is a popular server-side scripting language
type: tool
crossVersionUpdate: false
limit: 0
recommend: 0
website: https://www.php.net/
github: https://github.com/php/php-src
document: https://www.php.net/docs.php