From f5e4ee40e8aa00e0b5bf6e11e23fdf1c37a86e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sun, 12 Jan 2025 10:14:47 +0100 Subject: [PATCH] fix Dockerfile build even if the latest php is not supported --- demos/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/Dockerfile b/demos/Dockerfile index aeb0d1b13e..3805fda565 100644 --- a/demos/Dockerfile +++ b/demos/Dockerfile @@ -8,7 +8,7 @@ FROM php:apache RUN apt-get update && apt-get install -y \ - libicu-dev git jq unzip npm \ + libicu-dev git unzip npm \ && docker-php-ext-configure intl \ && docker-php-ext-install intl \ && docker-php-ext-install pdo pdo_mysql @@ -32,7 +32,7 @@ RUN cd public/css && lessc agileui.less agileui.css ADD composer.json . RUN jq 'del(."require-release")|del(."require-dev")' < composer.json > tmp && mv tmp composer.json \ && composer require --no-update fzaninotto/faker:^1.6 \ - && composer install --no-dev + && composer install --no-dev --ignore-platform-req=php RUN echo 'disable_functions = pcntl_exec,exec,passthru,proc_open,shell_exec,system,popen/g' >> "$PHP_INI_DIR/php.ini"