From 1521ed26a5706013d3f6e9dab810c1f9ab480a20 Mon Sep 17 00:00:00 2001 From: Christian Dangl Date: Thu, 14 Nov 2024 00:49:41 +0100 Subject: [PATCH] add missing php int and memory limit to docker image --- devops/docker_release/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devops/docker_release/Dockerfile b/devops/docker_release/Dockerfile index 5cb142e..61b2346 100644 --- a/devops/docker_release/Dockerfile +++ b/devops/docker_release/Dockerfile @@ -3,7 +3,12 @@ FROM php:cli COPY ./phpunuhi.phar /usr/local/bin/phpunuhi COPY ./run.sh /run.sh -RUN chmod +x /usr/local/bin/phpunuhi +RUN chmod +x /usr/local/bin/phpunuhi \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && apt-get update && apt-get install -y libicu-dev \ + && docker-php-ext-install intl \ + && rm -rf /var/lib/apt/lists/* + WORKDIR /app