From e49f4f12cac1aa0d9d98ddeb8c5b593d679d7aa8 Mon Sep 17 00:00:00 2001 From: Maciej Brencz Date: Wed, 2 Apr 2025 16:57:52 +0100 Subject: [PATCH 1/3] Update Dockerfile: use PHP 8.4.5, Python 3.13.2 and Composer 2.8.6 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9991a83..482ee5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -# elecena.pl (c) 2015-2024 +# elecena.pl (c) 2015-2025 # https://hub.docker.com/_/php -ARG PHP_VERSION=8.4.1 +ARG PHP_VERSION=8.4.5 # https://hub.docker.com/_/python/ -ARG PYTHON_VERSION=3.13.0 +ARG PYTHON_VERSION=3.13.2 # https://hub.docker.com/_/composer -ARG COMPOSER_VERSION=2.8.3 +ARG COMPOSER_VERSION=2.8.6 FROM composer:$COMPOSER_VERSION AS php-composer RUN /usr/bin/composer -v From 18f77fdd96f0121b16eb4791fc91da744d4d4cb1 Mon Sep 17 00:00:00 2001 From: Maciej Brencz Date: Wed, 2 Apr 2025 17:03:13 +0100 Subject: [PATCH 2/3] pecl: install yaml-2.2.4 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 482ee5c..19837e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,10 +45,10 @@ RUN docker-php-ext-install \ xsl # install yaml extensions from PECL -# https://pecl.php.net/package/yaml/2.2.3 +# https://pecl.php.net/package/yaml/2.2.4 RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \ && pecl channel-update pecl.php.net \ - && pecl install yaml-2.2.3 && docker-php-ext-enable yaml \ + && pecl install yaml-2.2.4 && docker-php-ext-enable yaml \ && apk del build-deps RUN which php; php -v; php -m; php -i | grep ini From 3e84acbeb9a779a726bfbd2228817be58c43b16c Mon Sep 17 00:00:00 2001 From: Maciej Brencz Date: Wed, 2 Apr 2025 17:12:53 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index b6d95af..7bd43f5 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ Python and PHP under the same roof (in **under 125 MB Docker image**). https://github.com/elecena/python-php/pkgs/container/python-php ``` -docker pull ghcr.io/elecena/python-php:3.13.0-8.4.1 +docker pull ghcr.io/elecena/python-php:3.13.2-8.4.5 ``` ``` $ docker images | head -REPOSITORY TAG IMAGE ID CREATED SIZE -elecena/python-php latest e831b83d3f79 1 second ago 125MB +REPOSITORY TAG IMAGE ID CREATED SIZE +elecena/python-php latest 2493a5d6b254 1 second ago 117MB ``` ## Installed software @@ -20,18 +20,18 @@ elecena/python-php latest e831b83d3f79 1 second ago 125MB ``` $ docker run -it elecena/python-php sh info.sh -### Python -Python 3.13.0 -virtualenv 20.27.1 from /usr/local/lib/python3.13/site-packages/virtualenv/__init__.py + ### Python +Python 3.13.2 +virtualenv 20.30.0 from /usr/local/lib/python3.13/site-packages/virtualenv/__init__.py ### PHP -PHP 8.4.1 (cli) (built: Nov 21 2024 17:58:21) (NTS) +PHP 8.4.5 (cli) (built: Mar 14 2025 00:11:50) (NTS) Copyright (c) The PHP Group Built by https://github.com/docker-library/php -Zend Engine v4.4.1, Copyright (c) Zend Technologies - with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies -Composer version 2.8.3 2024-11-17 13:13:04 -PHP version 8.4.1 (/usr/bin/php) +Zend Engine v4.4.5, Copyright (c) Zend Technologies + with Zend OPcache v8.4.5, Copyright (c), by Zend Technologies +Composer version 2.8.6 2025-02-25 13:03:50 +PHP version 8.4.5 (/usr/bin/php) Run the "diagnose" command to get more detailed diagnostics output. [PHP Modules] bz2