Skip to content

Fix PHP versions comparisons (#309) #201

Fix PHP versions comparisons (#309)

Fix PHP versions comparisons (#309) #201

Triggered via push July 21, 2026 14:03
Status Failure
Total duration 6m 25s
Artifacts 8
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error
build (php:8.6-rc-apache-trixie, 8.6)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c PHP_MAJOR_VERSION=\"$(echo $PHP_VERSION | cut -d '.' -f 1)\" && PHP_MINOR_VERSION=\"$(echo $PHP_VERSION | cut -d '.' -f 2)\" && if [ ! -z \"$(echo $PHP_VERSION | cut -d \".\" -f 3 | grep -P '(alpha|beta|rc)')\" ]; then PHP_IS_PRERELEASE=true; else PHP_IS_PRERELEASE=false; fi && apt update && apt install --assume-yes --no-install-recommends --quiet git unzip && docker-php-ext-install exif && apt install --assume-yes --no-install-recommends --quiet libfreetype6-dev libjpeg-dev libpng-dev libwebp-dev && docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp && docker-php-ext-install gd && apt install --assume-yes --no-install-recommends --quiet libicu-dev && docker-php-ext-install intl && apt install --assume-yes --no-install-recommends --quiet libldap2-dev && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && docker-php-ext-install ldap && apt install --assume-yes --no-install-recommends --quiet libonig-dev && docker-php-ext-install mbstring && apt install --assume-yes --no-install-recommends --quiet libmemcached-dev && if [ \"$PHP_IS_PRERELEASE\" = true ]; then mkdir -p /tmp/memcached && (curl --fail --silent --show-error --location https://github.com/php-memcached-dev/php-memcached/archive/refs/heads/master.tar.gz | tar --extract --ungzip --verbose --directory=\"/tmp/memcached\" --strip 1) && docker-php-ext-install /tmp/memcached && rm -rf /tmp/memcached ; elif [ \"$PHP_MAJOR_VERSION\" -ge \"8\" ] && [ \"$PHP_MINOR_VERSION\" -ge \"1\" ]; then pie install php-memcached/php-memcached ; else pecl install memcached ; fi && docker-php-ext-enable memcached && docker-php-ext-install mysqli && docker-php-ext-install bcmath && docker-php-ext-install pcntl && if [ \"$PHP_IS_PRERELEASE\" = true ]; then mkdir -p /tmp/redis && (curl --fail --silent --show-error --location https://github.com/phpredis/phpredis/archive/refs/heads/develop.tar.gz | tar --extract --ungzip --verbose --directory=\"/tmp/redis\" --strip 1) && docker-php-ext-install /tmp/redis && rm -rf /tmp/redis ; elif [ \"$PHP_MAJOR_VERSION\" -ge \"8\" ] && [ \"$PHP_MINOR_VERSION\" -ge \"1\" ]; then pie install phpredis/phpredis ; else pecl install redis ; fi && docker-php-ext-enable redis && apt install --assume-yes --no-install-recommends --quiet libzip-dev && docker-php-ext-install zip && apt install --assume-yes --no-install-recommends --quiet libxml2-dev && if [ \"$PHP_MAJOR_VERSION\" -lt \"8\" ]; then docker-php-ext-install xmlrpc ; elif [ \"$(echo $PHP_VERSION | cut -d '.' -f 1,2)\" != \"8.6\" ]; then mkdir -p /tmp/xmlrpc && (curl --fail --silent --show-error --location https://github.com/php/pecl-networking-xmlrpc/archive/0f782ffe52cebd0a65356427b7ab72d48b72d20c/xmlrpc-0f782ff.tar.gz | tar --extract --ungzip --verbose --directory=\"/tmp/xmlrpc\" --strip 1) && docker-php-ext-configure /tmp/xmlrpc --with-xmlrpc && docker-php-ext-install /tmp/xmlrpc && rm -rf /tmp/xmlrpc ; fi && if [ \"$PHP_IS_PRERELEASE\" = true ]; then mkdir -p /tmp/apcu && (curl --fail --silent --show-error --location https://github.com/krakjoe/apcu/archive/refs/heads/master.tar.gz | tar --extract --ungzip --verbose --directory=\"/tmp/apcu\" --strip 1) && docker-php-ext-install /tmp/apcu && rm -rf /tmp/apcu ; elif [ \"$PHP_MAJOR_VERSION\" -ge \"8\" ] && [ \"$PHP_MINOR_VERSION\" -ge \"1\" ]; then pie install apcu/apcu ; else pecl install apcu ; fi && docker-php-ext-enable apcu && echo \"apc.enable=1\" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini && echo \"apc.enable_cli=1\" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini && if [ \"$PHP_IS_PRERELEASE\" = true ]; then mkdir -p /tmp/pcov && (curl --fail --silent --show-error --location https://github.com/krakjoe/pcov/archive/refs/heads/develop.tar.gz | tar --extract --ungzip --verbose --directory=\"/tmp/pcov\" --s

Artifacts

Produced during runtime
Name Size Digest
glpi-project~docker-images~0PSDGJ.dockerbuild
237 KB
sha256:72ab85070859890c2d44ec28425731f2631a2182a51b61464a2fa14ad89fffd0
glpi-project~docker-images~EUUI73.dockerbuild
233 KB
sha256:0787cb9623c5cd8683ae24b2eba99601fe5d3ef4db209c22c6aea25b12d233fb
glpi-project~docker-images~GG9Z6T.dockerbuild
58 KB
sha256:a0297cc03c4c7bb4ce0e873621ef8ba11be78df3b46ae906f2fef7d5af2cc9e8
glpi-project~docker-images~IBXNNK.dockerbuild
238 KB
sha256:129621577a439c9c4e9df7f458e4d9fe1e3d288ede3e7aba416ac8bc9568be92
glpi-project~docker-images~M36PEC.dockerbuild
160 KB
sha256:391da591767c61da04085b18a6f8777189c2ce825066c97c84ecf4f2d69b1b5b
glpi-project~docker-images~MHV93F.dockerbuild
237 KB
sha256:a237fab94676459f2ef31dceb5d9af69a29657641965dd8b06a5981fc17abfdd
glpi-project~docker-images~PMEPKR.dockerbuild
238 KB
sha256:1e38f4c73d9ed7e01655c6e1498309892c2af1eae4256c4a2c0707f52d54a8de
glpi-project~docker-images~WIV7FC.dockerbuild
234 KB
sha256:26de3583403fd560bbb7dbc7253d705a731e09cb55d88449ea048592a4097567