From 4326e147662cf68a2d8755cb7f6f740a0121d4a5 Mon Sep 17 00:00:00 2001 From: James Doyle Date: Tue, 9 Apr 2024 14:58:41 -0700 Subject: [PATCH] Added: exif support --- Dockerfile | 3 ++- README.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb02cb6..0b80894 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends $BUILD_DEPS $LI && cd /tmp && curl -Ls https://github.com/unicode-org/icu/releases/download/release-$(echo $ICU_RELEASE | tr '.' '-')/icu4c-$(echo $ICU_RELEASE | tr '.' '_')-src.tgz > icu4c-src.tgz \ && cd /tmp && tar xzf icu4c-src.tgz && cd /tmp/icu/source && echo "#define FALSE 0" >> config.h && echo "#define TRUE 1" >> config.h && ./runConfigureICU Linux && make && make install && rm -rf /tmp/icu /tmp/icu4c-src.tgz \ && docker-php-ext-configure intl && docker-php-ext-install intl \ - && docker-php-ext-configure intl && docker-php-ext-install gmp \ + && docker-php-ext-configure gmp && docker-php-ext-install gmp \ + && docker-php-ext-configure exif && docker-php-ext-install exif \ && docker-php-ext-configure opcache && docker-php-ext-install opcache \ && chmod +x /usr/local/bin/install-php-extensions && install-php-extensions gd bcmath \ && echo "memory_limit = 1G" > $PHP_INI_DIR/conf.d/memory-limit.ini \ diff --git a/README.md b/README.md index 94b5004..5f8e7b1 100644 --- a/README.md +++ b/README.md @@ -14,19 +14,20 @@ Docker image for PHP under build environments - `gd` - `bcmath` - `gmp` +- `exif` - increased `memory_limit` - enabled `jit` ### Building ```sh -docker build -t php81 . +docker build -t php82 . ``` ### Running Locally ```sh -docker run -it --volume="$PWD:/app" --workdir="/app" --entrypoint=/bin/bash php81 +docker run -it --volume="$PWD:/app" --workdir="/app" --entrypoint=/bin/bash php82 ``` ### Running Remotely