Merge pull request #3587 from erikn69/patch-30

feat: Support PHP 8.4
This commit is contained in:
Shao Yu-Lung (Allen)
2025-03-07 16:13:14 +08:00
committed by GitHub
7 changed files with 1872 additions and 8 deletions

View File

@@ -120,7 +120,11 @@ RUN set -eux; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
cd /tmp && \
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
git clone https://github.com/Imagick/imagick; \
if [ ${LARADOCK_PHP_VERSION} = "8.4" ]; then \
git clone --branch develop https://github.com/Imagick/imagick; \
else \
git clone https://github.com/Imagick/imagick; \
fi; \
else \
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
fi && \