File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,15 @@ COVERAGE_PHP := 7.4 3.1.1
66PHP_8_3 := 8.3 3.3.2
77
88define PHP_VERSIONS
9- "7.2 3.1.1"\
10- "7.3 3.1.1"\
11- "7.4 3.1.1"\
12- "8.0 3.1.1"\
13- "8.1 3.1.1"\
14- "8.2 3.2.0"\
15- "8.3 3.3.2"\
16- "8.4 3.4.0beta1"
9+ "7.2 3.1.5"\
10+ "7.3 3.1.5"\
11+ "7.4 3.1.5"\
12+ "8.0 3.4.7"\
13+ "8.1 3.4.7"\
14+ "8.2 3.4.7"\
15+ "8.3 3.4.7"\
16+ "8.4 3.4.7"\
17+ "8.5"
1718endef
1819
1920define DOCKER_RUN
Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ printf "
3232 libtool \
3333 make \
3434 bash \
35- linux-headers \
36- && wget http://pear.php.net/go-pear.phar && php go-pear.phar \
37- && pecl install xdebug-$XDEBUG_VERSION \
38- && docker-php-ext-enable xdebug \
39- && docker-php-ext-enable opcache \
40- && wget https://getcomposer.org/download/2.8.1/composer.phar -O /usr/local/bin/composer \
35+ linux-headers
36+ RUN if [ ! -z \" $XDEBUG_VERSION \" ]; then \
37+ wget http://pear.php.net/go-pear.phar && php go-pear.phar \
38+ && pecl install xdebug-$XDEBUG_VERSION \
39+ && docker-php-ext-enable xdebug; \
40+ fi
41+ RUN php -i | grep -q opcache || docker-php-ext-enable opcache
42+ RUN wget https://getcomposer.org/download/2.9.2/composer.phar -O /usr/local/bin/composer \
4143 && chmod +x /usr/local/bin/composer
4244" | docker build --quiet --tag " $CONTAINER_NAME " - > /dev/null
4345
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
33set -x
4- composer --quiet update
4+ composer --quiet update || composer update
Original file line number Diff line number Diff line change 2121 "sort-packages" : true
2222 },
2323 "require" : {
24- "php" : " 7.2 - 8.4 "
24+ "php" : " 7.2 - 8.5 "
2525 },
2626 "require-dev" : {
2727 "ext-json" : " *" ,
You can’t perform that action at this time.
0 commit comments