@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user