File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ PROJECT_NAME=me_library
44
55PHP_BUILD_VERSION = 7.4
66PHP_TEST_VERSION = 8.2
7+ XDEBUG_VERSION = 3.2.1
78
89HOST_IP_ADDRESS = host-gateway
910
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ services:
1010 PHP_BUILD_VERSION : $PHP_BUILD_VERSION
1111 BUILD_ROOT_PATH : $BUILD_ROOT_PATH
1212 PHP_TEST_VERSION : $PHP_TEST_VERSION
13+ XDEBUG_VERSION : $XDEBUG_VERSION
1314 container_name : " ${PROJECT_NAME}_build"
1415 working_dir : ${BUILD_ROOT_PATH}
1516 volumes :
@@ -26,6 +27,7 @@ services:
2627 BUILD_ROOT_PATH : $BUILD_ROOT_PATH
2728 PHP_BUILD_VERSION : $PHP_BUILD_VERSION
2829 PHP_TEST_VERSION : $PHP_TEST_VERSION
30+ XDEBUG_VERSION : $XDEBUG_VERSION
2931 container_name : " ${PROJECT_NAME}_test"
3032 working_dir : ${BUILD_ROOT_PATH}
3133 volumes :
Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ COPY . ./
1818FROM php:${PHP_TEST_VERSION}-cli as test
1919
2020ARG BUILD_ROOT_PATH
21+ ARG XDEBUG_VERSION
2122
2223RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
23- RUN pecl install xdebug-3.2.1
24+ RUN pecl install xdebug-${XDEBUG_VERSION}
2425RUN docker-php-ext-install pcntl
2526RUN docker-php-ext-install posix
2627
You can’t perform that action at this time.
0 commit comments