Fix imagick on php 8.4(temp)

This commit is contained in:
erikn69
2025-02-28 12:08:24 -05:00
parent 80d5492767
commit d19acec4de
4 changed files with 22 additions and 6 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 && \