Skip to content

Commit 0c5f13e

Browse files
committed
add php7.2 minimum with zts
1 parent 6aca0a5 commit 0c5f13e

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

phpbrew/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ARG PHP_VERSION=7.2
4040
ARG PHP_DIST_NAME=$PHP_VERSION
4141
ARG PHP_MIRROR=http://tw2.php.net
4242
ARG DOWNLOADER=wget
43+
ARG PHP_VARIANTS=
4344

4445
# predownload the distribution file
4546
RUN source ~/.phpbrew/bashrc \
@@ -49,7 +50,7 @@ RUN source ~/.phpbrew/bashrc \
4950
RUN source ~/.phpbrew/bashrc \
5051
&& phpbrew --debug install --mirror $$PHP_MIRROR --downloader $DOWNLOADER --stdout \
5152
$PHP_VERSION as $PHP_DIST_NAME \
52-
+cli +phar +bz2 +xml +filter +mbregex +mbstring +posix +pcntl \
53+
+cli +phar +bz2 +xml +filter +mbregex +mbstring +posix +pcntl $PHP_VARIANTS \
5354
&& phpbrew use $PHP_DIST_NAME \
5455
&& which php \
5556
&& php -v \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Dockerfile
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PHP_VERSION=7.2
2+
PHP_VARIANTS="+zts+debug"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo ubuntu18.04-php7.2-minimum-zts
2+
echo php7.2-minimum-zts

0 commit comments

Comments
 (0)