Skip to content

Commit 61864aa

Browse files
committed
🔧 tweak xdebug version selection
1 parent 405004d commit 61864aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM php:$PHP_VERSION-cli-alpine
33

44
RUN apk add git zip unzip autoconf make g++
55

6-
RUN if [ -z "${PHP_VERSION##7\.1*}" ]; then \
6+
RUN if [ -z "${PHP_VERSION##7\.*}" ]; then \
77
pecl install xdebug-2.9.8 && docker-php-ext-enable xdebug; \
88
else \
99
pecl install xdebug && docker-php-ext-enable xdebug; \

0 commit comments

Comments
 (0)