Fix xdebug version

This commit is contained in:
cytopia
2022-12-09 06:30:23 +01:00
parent 8d305b3d96
commit efc023add0
7 changed files with 33 additions and 50 deletions

View File

@@ -1517,17 +1517,15 @@ extensions_available:
disabled: [] disabled: []
all: all:
type: pecl type: pecl
8.2: 7.4:
type: git type: pecl
git_url: https://github.com/xdebug/xdebug version: 3.1.6
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta 7.3:
git_ref: 3.2.0RC2 type: pecl
configure: --enable-xdebug version: 3.1.6
8.1: 7.2:
type: git type: pecl
git_url: https://github.com/xdebug/xdebug version: 3.1.6
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-xdebug
7.1: 7.1:
type: pecl type: pecl
version: 2.9.8 version: 2.9.8

View File

@@ -844,10 +844,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug -------------------- # -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \ RUN set -eux \
# Installation: Generic # Installation: Version specific
# Type: PECL extension # Type: PECL extension
# Default: Pecl command # Default: Pecl command
&& pecl install xdebug \ && pecl install xdebug-3.1.6 \
# Enabling # Enabling
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& true && true

View File

@@ -838,10 +838,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug -------------------- # -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \ RUN set -eux \
# Installation: Generic # Installation: Version specific
# Type: PECL extension # Type: PECL extension
# Default: Pecl command # Default: Pecl command
&& pecl install xdebug \ && pecl install xdebug-3.1.6 \
# Enabling # Enabling
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& true && true

View File

@@ -825,10 +825,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug -------------------- # -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \ RUN set -eux \
# Installation: Generic # Installation: Version specific
# Type: PECL extension # Type: PECL extension
# Default: Pecl command # Default: Pecl command
&& pecl install xdebug \ && pecl install xdebug-3.1.6 \
# Enabling # Enabling
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& true && true

View File

@@ -787,17 +787,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug -------------------- # -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \ RUN set -eux \
# Installation: Version specific # Installation: Generic
# Type: GIT extension # Type: PECL extension
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \ # Default: Pecl command
&& cd /tmp/xdebug \ && pecl install xdebug \
# Custom: Branch
&& git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \
# Default: Install command
&& phpize \
&& ./configure --enable-xdebug \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
# Enabling # Enabling
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& true && true

View File

@@ -739,17 +739,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug -------------------- # -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \ RUN set -eux \
# Installation: Version specific # Installation: Generic
# Type: GIT extension # Type: PECL extension
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \ # Default: Pecl command
&& cd /tmp/xdebug \ && pecl install xdebug \
# Custom: Branch
&& git checkout 3.2.0RC2 \
# Default: Install command
&& phpize \
&& ./configure --enable-xdebug \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
# Enabling # Enabling
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug \
&& true && true

View File

@@ -8,18 +8,17 @@
all: all:
type: pecl type: pecl
8.2: 7.4:
type: git type: pecl
git_url: https://github.com/xdebug/xdebug version: 3.1.6
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
git_ref: 3.2.0RC2
configure: --enable-xdebug
8.1: 7.3:
type: git type: pecl
git_url: https://github.com/xdebug/xdebug version: 3.1.6
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-xdebug 7.2:
type: pecl
version: 3.1.6
7.1: 7.1:
type: pecl type: pecl