@@ -351,7 +351,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||
apt-get install -yqq pkg-config php-xml php${LARADOCK_PHP_VERSION}-xml && \
|
||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
|
||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||
pecl install xdebug-3.3.0; \
|
||||
pecl install xdebug-3.4.1; \
|
||||
else \
|
||||
pecl install xdebug-3.1.6; \
|
||||
fi; \
|
||||
@@ -1284,7 +1284,11 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||
apt-get install -y git && \
|
||||
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 && \
|
||||
|
||||
Reference in New Issue
Block a user