Skip to content

Commit

Permalink
Add pcntl extension and update PHP with mongodb extension
Browse files Browse the repository at this point in the history
  • Loading branch information
stankolubomir committed Jan 15, 2024
1 parent f4406b6 commit 97ccbe1
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 15 deletions.
6 changes: 4 additions & 2 deletions build/php82/cli/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.13-cli
FROM php:8.2.14-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
6 changes: 4 additions & 2 deletions build/php82/cli/vipsffmpeg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.13-cli
FROM php:8.2.14-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
6 changes: 4 additions & 2 deletions build/php82/fpm/vipsffmpeg-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.13-fpm
FROM php:8.2.14-fpm

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
6 changes: 4 additions & 2 deletions build/php83/cli/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.0-cli
FROM php:8.3.1-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
6 changes: 4 additions & 2 deletions build/php83/cli/vipsffmpeg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.0-cli
FROM php:8.3.1-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
6 changes: 4 additions & 2 deletions build/php83/fpm/vipsffmpeg-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.0-fpm
FROM php:8.3.1-fpm

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -95,11 +95,13 @@ RUN apt-get update && \
supervisor=4.2.5-1 && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand All @@ -120,7 +122,7 @@ RUN apt-get update && \
apt-get install -y \
${PECL_BUILD_DEPS} && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.1 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \
Expand Down
11 changes: 11 additions & 0 deletions doc/PHP-Changelog/3.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
planned
===

### Added
- Added php `pcntl` extension

### Changed
- Docker packages update
- php 8.2 `8.2.14`
- php 8.3 `8.3.1`
- php ext mongodb `1.17.2`
2 changes: 2 additions & 0 deletions template.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ RUN apt-get update && \
supervisor=${SUPERVISOR_VERSION}-${SUPERVISOR_PKG_RELEASE} && \
docker-php-ext-configure intl && \
docker-php-ext-configure opcache && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-configure pdo_mysql && \
docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) \
intl \
opcache \
pcntl \
pdo_mysql \
zip && \
apt-get purge \
Expand Down
6 changes: 3 additions & 3 deletions versions.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export PHP82_VERSION=8.2.13
export PHP83_VERSION=8.3.0
export PHP82_VERSION=8.2.14
export PHP83_VERSION=8.3.1
# Pecl ext versions
export PECL_APCU_VERSION=5.1.23
export PECL_MONGODB_VERSION=1.17.1
export PECL_MONGODB_VERSION=1.17.2
export PECL_PCOV_VERSION=1.0.11
export PECL_REDIS_VERSION=6.0.2
export PECL_VIPS_VERSION=1.0.13
Expand Down

0 comments on commit 97ccbe1

Please sign in to comment.