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: []
all:
type: pecl
8.2:
type: git
git_url: https://github.com/xdebug/xdebug
# 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:
type: git
git_url: https://github.com/xdebug/xdebug
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
configure: --enable-xdebug
7.4:
type: pecl
version: 3.1.6
7.3:
type: pecl
version: 3.1.6
7.2:
type: pecl
version: 3.1.6
7.1:
type: pecl
version: 2.9.8

View File

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

View File

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

View File

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

View File

@@ -787,17 +787,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: xdebug --------------------
RUN set -eux \
# Installation: Version specific
# Type: GIT extension
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \
&& cd /tmp/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 \
# Installation: Generic
# Type: PECL extension
# Default: Pecl command
&& pecl install xdebug \
# Enabling
&& docker-php-ext-enable xdebug \
&& true

View File

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

View File

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