File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ variable "IMAGE_VERSION_SUFFIX" {
1717variable "DOCKER_PLATFORM" {
1818 default = " linux/amd64"
1919}
20+ variable "ENABLE_ZTS" {
21+ default = " "
22+ }
2023
2124target "build-php" {
2225 dockerfile = " php-${ PHP_VERSION } /Dockerfile"
@@ -34,6 +37,7 @@ target "php" {
3437 tags = [" bref/${ CPU_PREFIX } php-${ PHP_VERSION } " ]
3538 args = {
3639 " IMAGE_VERSION_SUFFIX" = " ${ IMAGE_VERSION_SUFFIX } "
40+ " ENABLE_ZTS" = " ${ ENABLE_ZTS } "
3741 }
3842 contexts = {
3943 " bref/${CPU_PREFIX}build-php-${PHP_VERSION}" = " target:build-php"
Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
378378 --enable-fpm \
379379 --disable-cgi \
380380 --enable-cli \
381+ ${ENABLE_ZTS} \
381382 --disable-phpdbg \
382383 --with-sodium \
383384 --with-readline \
@@ -397,7 +398,6 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
397398 --with-pdo-pgsql=shared,${INSTALL_DIR} \
398399 --enable-intl=shared \
399400 --enable-soap \
400- ${ENABLE_ZTS} \
401401 --with-xsl=${INSTALL_DIR} \
402402 # necessary for `pecl` to work (to install PHP extensions)
403403 --with-pear
Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
378378 --enable-fpm \
379379 --disable-cgi \
380380 --enable-cli \
381+ ${ENABLE_ZTS} \
381382 --disable-phpdbg \
382383 --with-sodium \
383384 --with-readline \
@@ -397,7 +398,6 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
397398 --with-pdo-pgsql=shared,${INSTALL_DIR} \
398399 --enable-intl=shared \
399400 --enable-soap \
400- ${ENABLE_ZTS} \
401401 --with-xsl=${INSTALL_DIR} \
402402 # necessary for `pecl` to work (to install PHP extensions)
403403 --with-pear
Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
378378 --enable-fpm \
379379 --disable-cgi \
380380 --enable-cli \
381+ ${ENABLE_ZTS} \
381382 --disable-phpdbg \
382383 --with-sodium \
383384 --with-readline \
@@ -397,7 +398,6 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I
397398 --with-pdo-pgsql=shared,${INSTALL_DIR} \
398399 --enable-intl=shared \
399400 --enable-soap \
400- ${ENABLE_ZTS} \
401401 --with-xsl=${INSTALL_DIR} \
402402 # necessary for `pecl` to work (to install PHP extensions)
403403 --with-pear
You can’t perform that action at this time.
0 commit comments