diff --git a/Dockerfile b/Dockerfile index 29ec2d2..7790beb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,8 @@ #!BuildTag: opensuse/bci/php-fpm:8 #!BuildTag: opensuse/bci/php-fpm:8-%RELEASE% +#!BuildTag: opensuse/bci/php-fpm:%%php_version%% +#!BuildTag: opensuse/bci/php-fpm:%%php_version%%-%RELEASE% #!BuildTag: opensuse/bci/php-fpm:latest FROM opensuse/tumbleweed:latest @@ -27,7 +29,7 @@ RUN set -euo pipefail; zypper -n in php8 php8-cli php-composer2 php8-curl php8-z LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI PHP-FPM 8" LABEL org.opencontainers.image.description="PHP-FPM 8 container based on the openSUSE Tumbleweed Base Container Image." -LABEL org.opencontainers.image.version="8" +LABEL org.opencontainers.image.version="%%php_version%%" LABEL org.opencontainers.image.url="https://www.opensuse.org" LABEL org.opencontainers.image.created="%BUILDTIME%" LABEL org.opencontainers.image.vendor="openSUSE Project" diff --git a/README.md b/README.md index 1deaf38..97f164e 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ RUN docker-php-ext-install gd intl can be used as an alternative source to obtain PHP extensions, but without any guarantee of interoperability with this image and without any official support. -PECL extensions can be installed as follows: +Install PECL extensions as follows: ```Dockerfile FROM registry.opensuse.org/opensuse/bci/php-fpm:8 @@ -123,16 +123,16 @@ RUN set -euo pipefail; \ pecl install APCu-5.1.21; ``` -**Note:** Building an extension may require installing additional dependencies. +**Note:** Building an extension may require installing its dependencies first. ## Compatibility with the DockerHub Image The following scripts ship with the image to keep it compatible with the DockerHub image: `docker-php-source`, `docker-php-ext-configure`, -`docker-php-ext-enable`, and `docker-php-ext-install`. Note that only -`docker-php-ext-install` performs an actual job. None of the other scripts -require to be executed in the image. +`docker-php-ext-enable`, and `docker-php-ext-install`. +The script `docker-php-ext-install` performs an actual job, all others are +just no-operation scripts for interoperability. ## Licensing diff --git a/php-fpm8-image.changes b/php-fpm8-image.changes index 9b83624..3c1a158 100644 --- a/php-fpm8-image.changes +++ b/php-fpm8-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 11 08:07:25 UTC 2024 - Dirk Mueller + +- use full version in php container labels + ------------------------------------------------------------------- Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller