Skip to content

Commit

Permalink
fix: alpine xdebug
Browse files Browse the repository at this point in the history
  • Loading branch information
htuscher committed Dec 12, 2022
1 parent 3549ea0 commit 1ca511a
Show file tree
Hide file tree
Showing 22 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/php-apache-dev/7.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-2.8.1 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/7.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/7.3-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-3.1.6 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-apache-dev/8.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/7.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-2.8.1 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/7.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/7.3-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-3.1.6 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-dev/8.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/7.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-2.8.1 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/7.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/7.3-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug-3.1.6 \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions docker/php-nginx-dev/8.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ RUN set -x \
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
&& pecl install xdebug \
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down
2 changes: 2 additions & 0 deletions template/Dockerfile/images/php.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@
&& bash -c "$(curl -L https://installer.blackfire.io/installer.sh)" \
&& blackfire php:install \
&& apk-install \
linux-headers \
make \
autoconf \
g++ \
Expand All @@ -417,6 +418,7 @@
{%- endif %}
&& apk del -f --purge \
autoconf \
linux-headers \
g++ \
make \
&& docker-php-ext-enable xdebug \
Expand Down

0 comments on commit 1ca511a

Please sign in to comment.