Upgrade base image to Debian "bookworm"

Closes: #82
This commit is contained in:
Aloïs Micard
2025-09-16 21:24:40 +02:00
parent 9bbc5f167d
commit 30a8d44d6d
9 changed files with 10 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.1-apache-bullseye FROM ${ARCH}php:8.1-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.1-apache-bullseye FROM ${ARCH}php:8.1-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.1-apache-bullseye FROM ${ARCH}php:8.1-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.2-apache-bullseye FROM ${ARCH}php:8.2-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.2-apache-bullseye FROM ${ARCH}php:8.2-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.2-apache-bullseye FROM ${ARCH}php:8.2-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.2-apache-bullseye FROM ${ARCH}php:8.2-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -4,7 +4,7 @@ ARG ARCH=
# Example: PHP_BASE_IMAGE=x.y-apache-buster # Example: PHP_BASE_IMAGE=x.y-apache-buster
# Example: PHP_BASE_IMAGE=x.y-apache-bullseye # Example: PHP_BASE_IMAGE=x.y-apache-bullseye
# Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions # Note: Version of the PHP image must be a compatible version according to https://wiki.dolibarr.org/index.php?title=Versions
FROM ${ARCH}php:8.2-apache-bullseye FROM ${ARCH}php:8.2-apache-bookworm
# Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr> # Credit/Initial maintainer: Garcia MICHEL <garcia@soamichel.fr>
# Modified according to the GPL license by developers of the Dolibarr community: # Modified according to the GPL license by developers of the Dolibarr community:

View File

@@ -40,9 +40,9 @@ for dolibarrVersion in "${DOLIBARR_VERSIONS[@]}"; do
# Mapping PHP version according to Dolibarr version (See https://wiki.dolibarr.org/index.php/Versions) # Mapping PHP version according to Dolibarr version (See https://wiki.dolibarr.org/index.php/Versions)
# Regarding PHP Supported version : https://www.php.net/supported-versions.php # Regarding PHP Supported version : https://www.php.net/supported-versions.php
if [ "${dolibarrVersion}" = "develop" ] || [ "${dolibarrMajor}" -ge "19" ] || [ "${dolibarrMajor}" -ge "20" ] || [ "${dolibarrMajor}" -ge "21" ]; then if [ "${dolibarrVersion}" = "develop" ] || [ "${dolibarrMajor}" -ge "19" ] || [ "${dolibarrMajor}" -ge "20" ] || [ "${dolibarrMajor}" -ge "21" ]; then
php_base_images=( "8.2-apache-bullseye" ) php_base_images=( "8.2-apache-bookworm" )
elif [ "${dolibarrMajor}" -ge "16" ]; then elif [ "${dolibarrMajor}" -ge "16" ]; then
php_base_images=( "8.1-apache-bullseye" ) php_base_images=( "8.1-apache-bookworm" )
else else
php_base_images=( "7.4-apache-bullseye" ) php_base_images=( "7.4-apache-bullseye" )
fi fi