Skip to content

Commit

Permalink
Pin Xdebug versions to avoid installation issues with pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
hollodotme committed Jul 22, 2022
1 parent 3c573d8 commit 0d4a800
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .docker/php/7.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^2.9

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^3.1

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^3.1

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^3.1

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^3.1

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down
2 changes: 1 addition & 1 deletion .docker/php/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV PHP_CONF_DIR=/usr/local/etc/php-fpm.d

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN set -ex && install-php-extensions xdebug
RUN set -ex && install-php-extensions xdebug-^3.1

COPY network-socket.pool.conf ${PHP_CONF_DIR}/network-socket.pool.conf
COPY restricted-unix-domain-socket.pool.conf ${PHP_CONF_DIR}/restricted-unix-domain-socket.pool.conf
Expand Down

0 comments on commit 0d4a800

Please sign in to comment.