Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Invis1ble committed Jun 3, 2024
1 parent accb007 commit 2869d47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
unzip=6.0-28 \
&& rm -rf /var/lib/apt/lists/*

RUN set -eux; \
if ! pecl list | grep -q xdebug; then \
pecl install xdebug-3.3.2 && docker-php-ext-enable xdebug; \
fi
RUN bash -c '[[ -n "$(pecl list | grep xdebug)" ]]\
|| (pecl install xdebug-3.3.2 && docker-php-ext-enable xdebug)'

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

Expand Down

0 comments on commit 2869d47

Please sign in to comment.