ClubNix/Votix

pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.2.99), installed version is 7.3.33

veikoon opened this issue · 0 comments

FROM php:7.3-apache-buster

Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so'
Installing '/usr/local/include/php/ext/apcu/apc_iterator.h'
Installing '/usr/local/include/php/ext/apcu/apc_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_sma.h'
Installing '/usr/local/include/php/ext/apcu/apc_globals.h'
Installing '/usr/local/include/php/ext/apcu/apc.h'
Installing '/usr/local/include/php/ext/apcu/apc_lock_api.h'
Installing '/usr/local/include/php/ext/apcu/php_apc_legacy_arginfo.h'
Installing '/usr/local/include/php/ext/apcu/apc_cache.h'
Installing '/usr/local/include/php/ext/apcu/apc_arginfo.h'
Installing '/usr/local/include/php/ext/apcu/apc_serializer.h'
Installing '/usr/local/include/php/ext/apcu/apc_stack.h'
Installing '/usr/local/include/php/ext/apcu/apc_cache_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_mutex.h'
Installing '/usr/local/include/php/ext/apcu/php_apc.h'
Installing '/usr/local/include/php/ext/apcu/apc_sma_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_lock.h'
install ok: channel://pecl.php.net/apcu-5.1.19
configuration option "php_ini" is not set to php.ini location
You should add "extension=apcu.so" to php.ini
+ pecl clear-cache
reading directory /tmp/pear/cache
8 cache entries cleared
+ docker-php-ext-enable apcu
+ pecl install xdebug
pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.2.99), installed version is 7.3.33
No valid packages found
install failed
ERROR: Service 'votix' failed to build : The command '/bin/sh -c set -eux;     buildDeps="         libicu-dev         zlib1g-dev         libzip-dev         libonig-dev     ";     apt-get update;     apt-get install -y --no-install-recommends         $buildDeps         ca-certificates         git         openssh-client         libzip4         unzip         gnupg     ;         docker-php-ext-install opcache mbstring intl zip;         pecl install apcu-$APCU_VERSION;     pecl clear-cache;     docker-php-ext-enable apcu;         pecl install xdebug;         curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -;     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list;     apt-get update;     apt-get install -y yarn nodejs;         apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $buildDeps;     apt-get clean;     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*;         mkdir -p /srv/public;     chown -R www-data:www-data /srv;     a2enmod rewrite;         curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer;         {         echo "short_open_tag=off";         echo "date.timezone=UTC";         echo "opcache.memory_consumption=256";         echo "opcache.max_accelerated_files=20000";         echo "realpath_cache_size=4096K";         echo "realpath_cache_ttl=600";     } | tee /usr/local/etc/php/conf.d/symfony.ini;     {         echo "<VirtualHost *:8000>";         echo "    DocumentRoot /srv/public";         echo "    DirectoryIndex index.php";         echo "    <Directory /srv/public>";         echo "        AllowOverride All";         echo "        Require all granted";         echo "    </Directory>";         echo "    ErrorLog /proc/self/fd/1";         echo "    CustomLog /proc/self/fd/2 combined";         echo "</VirtualHost>";     } | tee /etc/apache2/sites-available/000-default.conf;     echo "Listen 8000" > /etc/apache2/ports.conf;     mkdir -p /mnt/cache_yarn /mnt/cache_composer;     echo "disable-self-update-check true" > /.yarnrc' returned a non-zero code: 1

Passage sur une docker php:8.0-apache-buster à envisager ?