File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ COPY --link --from=bref/local-api-gateway /app /local-api-gateway
3535EXPOSE 8000
3636
3737# Add `php/conf.dev.d` to the path where PHP looks for configuration files
38- ENV PHP_INI_SCAN_DIR="$PHP_INI_SCAN_DIR :/var/task/php/conf.dev.d"
38+ ENV PHP_INI_SCAN_DIR="/opt/bref/etc/php/conf.d:/var/task/php/conf.d :/var/task/php/conf.dev.d"
3939
4040# Originally the entrypoint is `/lambda-entrypoint.sh` and CMD contains the handler name
4141# We override the entrypoint to run our own logic
Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ test: test-80 test-81 test-82
55# This rule matches with a wildcard, for example `test-80`.
66# The `$*` variable will contained the matched part, in this case `80`.
77test-% : vendor
8- docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD ) :/var/task:ro --entrypoint=php bref/${CPU_PREFIX} php-$* \
9- test_1_binary.php $*
8+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD ) :/var/task:ro --entrypoint=php bref/${CPU_PREFIX} php-$* test_1_binary.php $*
9+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD ) :/var/task:ro --entrypoint=php bref/${CPU_PREFIX} php-$* -fpm test_1_binary.php $*
10+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD ) :/var/task:ro --entrypoint=php bref/${CPU_PREFIX} php-$* -fpm-dev test_1_binary.php $*
1011
11- docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD):/var/task:ro --entrypoint=php bref/${CPU_PREFIX}php-$* \
12- test_2_extensions.php
12+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD):/var/task:ro --entrypoint=php bref/${CPU_PREFIX}php-$* test_2_extensions.php
13+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD):/var/task:ro --entrypoint=php bref/${CPU_PREFIX}php-$*-fpm test_2_extensions.php
14+ docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD):/var/task:ro --entrypoint=php bref/${CPU_PREFIX}php-$*-fpm-dev test_2_extensions.php
1315
1416 docker run --platform=${DOCKER_PLATFORM} --rm -v=$(PWD):/var/task:ro --entrypoint=php \
1517 -e PHP_INI_SCAN_DIR="/opt/bref/etc/php/conf.d/:/var/task/" bref/${CPU_PREFIX}php-$* \
Original file line number Diff line number Diff line change 9898 'iconv ' => function_exists ('iconv_strlen ' ),
9999 'mbstring ' => function_exists ('mb_strlen ' ),
100100 'mysqli ' => function_exists ('mysqli_connect ' ),
101- 'opcache ' => ini_get ('opcache.enable ' ) == 1 && ini_get ( ' opcache.enable_cli ' ) == 1 ,
101+ 'opcache ' => ini_get ('opcache.enable ' ) == 1 ,
102102 'pdo ' => class_exists (\PDO ::class),
103103 'pdo_mysql ' => extension_loaded ('pdo_mysql ' ),
104104 'pdo_sqlite ' => extension_loaded ('pdo_sqlite ' ),
You can’t perform that action at this time.
0 commit comments