Skip to content

Commit

Permalink
fix Dockerfile build even if the latest php is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 12, 2025
1 parent db99957 commit f5e4ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Expand Down

0 comments on commit f5e4ee4

Please sign in to comment.