diff --git a/src/Kernel.php b/src/Kernel.php index 7b022a95..89b20112 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -39,7 +39,7 @@ protected function configureRoutes(RoutingConfigurator $routes): void public function getLogDir() { // When on the lambda only /tmp is writeable - if (getenv('DOCKER_COMPOSE') == false && getenv('LAMBDA_TASK_ROOT') !== false) { + if (false == \getenv('DOCKER_COMPOSE') && false !== \getenv('LAMBDA_TASK_ROOT')) { return '/tmp/log/'; } @@ -49,7 +49,7 @@ public function getLogDir() public function getCacheDir() { // When on the lambda only /tmp is writeable - if (getenv('DOCKER_COMPOSE') == false && getenv('LAMBDA_TASK_ROOT') !== false) { + if (false == \getenv('DOCKER_COMPOSE') && false !== \getenv('LAMBDA_TASK_ROOT')) { return '/tmp/cache/'.$this->environment; } diff --git a/sys/docker/bref-phpfpm/Dockerfile b/sys/docker/bref-phpfpm/Dockerfile index 34442a09..c2c3fc19 100644 --- a/sys/docker/bref-phpfpm/Dockerfile +++ b/sys/docker/bref-phpfpm/Dockerfile @@ -1,4 +1,4 @@ -FROM bref/php-80-fpm-dev +FROM bref/php-80-fpm-dev:1.2.7 ENV LD_LIBRARY_PATH=/opt/bref/lib64:/opt/bref/lib